33 #ifndef CXSESSIONSTORAGESERVICE_H 34 #define CXSESSIONSTORAGESERVICE_H 36 #include "cxResourceExport.h" 38 #include "boost/shared_ptr.hpp" 45 #define SessionStorageService_iid "cx::SessionStorageService" 70 virtual void load(QString dir) = 0;
71 virtual void save() = 0;
72 virtual void clear() = 0;
73 virtual bool isValid()
const = 0;
74 virtual QString getRootFolder()
const = 0;
76 virtual bool isNull()
const = 0;
77 static SessionStorageServicePtr getNullObject();
79 QString getSubFolder(QString relative);
83 void sessionChanged();
84 void isSaving(QDomElement& root);
85 void isSavingSecond(QDomElement& root);
86 void isLoading(QDomElement& root);
87 void isLoadingSecond(QDomElement& root);
94 #endif // CXSESSIONSTORAGESERVICE_H
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr
#define SessionStorageService_iid
Namespace for all CustusX production code.