using System.Runtime.InteropServices;

namespace QC.QSPRSchedulerWrapper;

[ComVisible(true)]
public interface IScheduler
{
	string LastError { get; }

	int ErrorsExist { get; }

	QSPRTestTree OpenXTT(string treename);

	void GetGlobalVariable(string gvName, out string value);

	void SetGlobalVariable(string gvName, string value);

	void LoadWorkspaceConfig(string wsConfigFileName);

	void SaveWorkspaceConfig(string wsConfigFileName);

	void Close();

	QSPRTestTree NewXTT();

	int Exit();
}
