12 #ifndef CXSTATESERVICE_H_
13 #define CXSTATESERVICE_H_
15 #include "cxResourceExport.h"
21 class ctkPluginContext;
23 #define StateService_iid "cx::StateService"
46 Desktop(QString layout, QByteArray mainwindowstate);
47 void addPreset(QString name,
int pos,
bool tabbed=
true);
109 virtual QString getVersionName() = 0;
110 virtual QString getApplicationStateName()
const = 0;
111 virtual QStringList getAllApplicationStateNames()
const = 0;
113 virtual QActionGroup* getWorkflowActions() = 0;
114 virtual void setWorkFlowState(QString uid) = 0;
116 virtual Desktop getActiveDesktop() = 0;
117 virtual void saveDesktop(
Desktop desktop) = 0;
118 virtual void resetDesktop() = 0;
121 virtual bool isNull() = 0;
125 void fillDefaultSettings();
133 void workflowStateChanged();
134 void workflowStateAboutToChange();
135 void applicationStateChanged();