12 #ifndef CXSESSIONSTORAGESERVICE_H 13 #define CXSESSIONSTORAGESERVICE_H 15 #include "cxResourceExport.h" 17 #include "boost/shared_ptr.hpp" 24 #define SessionStorageService_iid "cx::SessionStorageService" 49 virtual void load(QString dir) = 0;
50 virtual void save() = 0;
51 virtual void clear() = 0;
52 virtual bool isValid()
const = 0;
53 virtual QString getRootFolder()
const = 0;
55 virtual bool isNull()
const = 0;
56 static SessionStorageServicePtr getNullObject();
58 QString getSubFolder(QString relative);
62 void sessionChanged();
63 void isSaving(QDomElement& root);
64 void isSavingSecond(QDomElement& root);
65 void isLoading(QDomElement& root);
66 void isLoadingSecond(QDomElement& root);
73 #endif // CXSESSIONSTORAGESERVICE_H
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr
#define SessionStorageService_iid
Namespace for all CustusX production code.