33 #ifndef CXSTATESERVICE_H_
34 #define CXSTATESERVICE_H_
36 #include "cxResourceExport.h"
41 class ctkPluginContext;
43 #define StateService_iid "cx::StateService"
66 Desktop(QString layout, QByteArray mainwindowstate);
142 virtual QString getVersionName() = 0;
144 virtual QString getApplicationStateName()
const = 0;
145 virtual QStringList getAllApplicationStateNames()
const = 0;
147 virtual QActionGroup* getWorkflowActions() = 0;
148 virtual void setWorkFlowState(QString uid) = 0;
150 virtual Desktop getActiveDesktop() = 0;
151 virtual void saveDesktop(
Desktop desktop) = 0;
152 virtual void resetDesktop() = 0;
154 virtual bool isNull() = 0;
158 void workflowStateChanged();
159 void workflowStateAboutToChange();
160 void applicationStateChanged();
boost::shared_ptr< class StateService > StateServicePtr
Global Application states for CustusX.
QByteArray mMainWindowState
Data class for CustusX desktop.
QString mSecondaryLayoutUid