12 #ifndef CXSESSIONSTORAGESERVICEIMPL_H 13 #define CXSESSIONSTORAGESERVICEIMPL_H 15 #include "org_custusx_core_patientmodel_Export.h" 19 class ctkPluginContext;
37 virtual void load(QString dir);
40 virtual bool isValid()
const;
41 virtual QString getRootFolder()
const;
42 virtual bool isNull()
const;
45 void onSessionChanged();
46 void startupLoadPatient();
48 void reportActivePatient();
49 void setActivePatient(
const QString& activePatientFolder);
50 QString getXmlFileName()
const;
52 bool isValidSessionFolder(QString dir)
const;
53 bool folderExists(QString dir)
const;
54 void loadSession(QString dir);
55 void initializeNewSession(QString dir);
56 bool isActivePatient(QString patient)
const;
57 void loadPatientSilent(QString choosenDir);
58 void writeRecentPatientData();
59 void generateSaveDoc(QDomDocument& doc);
60 void clearPatientSilent();
61 QString getNoPatientFolder()
const;
62 void createPatientFolders(QString dir);
63 static QString getVersionName();
64 QString convertToValidFolderName(QString dir)
const;
66 QString getCommandLineStartupPatient();
68 QString mActivePatientFolder;
73 #endif // CXSESSIONSTORAGESERVICEIMPL_H
Namespace for all CustusX production code.