Line data Source code
1 : #ifndef INCLUDED_OFFICECFG_OFFICE_RECOVERY_HXX
2 : #define INCLUDED_OFFICECFG_OFFICE_RECOVERY_HXX
3 :
4 : #include "sal/config.h"
5 :
6 : #include "rtl/ustring.h"
7 : #include "rtl/ustring.hxx"
8 : #include "sal/types.h"
9 : #include "comphelper/configuration.hxx"
10 :
11 : namespace officecfg { namespace Office { namespace Recovery {
12 :
13 : struct RecoveryList: public comphelper::ConfigurationSet< RecoveryList> {
14 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/RecoveryList")); }
15 : private:
16 : RecoveryList(); // not defined
17 : ~RecoveryList(); // not defined
18 : };
19 :
20 : struct SessionShutdown: public comphelper::ConfigurationGroup< SessionShutdown> {
21 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/SessionShutdown")); }
22 :
23 : struct DocumentStoreUIEnabled: public comphelper::ConfigurationProperty<DocumentStoreUIEnabled, bool> {
24 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/SessionShutdown/DocumentStoreUIEnabled")); }
25 : private:
26 : DocumentStoreUIEnabled(); // not defined
27 : ~DocumentStoreUIEnabled(); // not defined
28 : };
29 :
30 : private:
31 : SessionShutdown(); // not defined
32 : ~SessionShutdown(); // not defined
33 : };
34 :
35 : struct RecoveryInfo: public comphelper::ConfigurationGroup< RecoveryInfo> {
36 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/RecoveryInfo")); }
37 :
38 : struct Enabled: public comphelper::ConfigurationProperty<Enabled, bool> {
39 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/RecoveryInfo/Enabled")); }
40 : private:
41 : Enabled(); // not defined
42 : ~Enabled(); // not defined
43 : };
44 :
45 : struct Crashed: public comphelper::ConfigurationProperty<Crashed, bool> {
46 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/RecoveryInfo/Crashed")); }
47 : private:
48 : Crashed(); // not defined
49 : ~Crashed(); // not defined
50 : };
51 :
52 : struct SessionData: public comphelper::ConfigurationProperty<SessionData, bool> {
53 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/RecoveryInfo/SessionData")); }
54 : private:
55 : SessionData(); // not defined
56 : ~SessionData(); // not defined
57 : };
58 :
59 : private:
60 : RecoveryInfo(); // not defined
61 : ~RecoveryInfo(); // not defined
62 : };
63 :
64 : struct CrashReporter: public comphelper::ConfigurationGroup< CrashReporter> {
65 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/CrashReporter")); }
66 :
67 : struct Enabled: public comphelper::ConfigurationProperty<Enabled, bool> {
68 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/CrashReporter/Enabled")); }
69 : private:
70 : Enabled(); // not defined
71 : ~Enabled(); // not defined
72 : };
73 :
74 : private:
75 : CrashReporter(); // not defined
76 : ~CrashReporter(); // not defined
77 : };
78 :
79 : struct AutoSave: public comphelper::ConfigurationGroup< AutoSave> {
80 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/AutoSave")); }
81 :
82 : struct Enabled: public comphelper::ConfigurationProperty<Enabled, bool> {
83 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/AutoSave/Enabled")); }
84 : private:
85 : Enabled(); // not defined
86 : ~Enabled(); // not defined
87 : };
88 :
89 : struct TimeIntervall: public comphelper::ConfigurationProperty<TimeIntervall, sal_Int32> {
90 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/AutoSave/TimeIntervall")); }
91 : private:
92 : TimeIntervall(); // not defined
93 : ~TimeIntervall(); // not defined
94 : };
95 :
96 : struct MinSpaceDocSave: public comphelper::ConfigurationProperty<MinSpaceDocSave, sal_Int32> {
97 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/AutoSave/MinSpaceDocSave")); }
98 : private:
99 : MinSpaceDocSave(); // not defined
100 : ~MinSpaceDocSave(); // not defined
101 : };
102 :
103 : struct MinSpaceConfigSave: public comphelper::ConfigurationProperty<MinSpaceConfigSave, sal_Int32> {
104 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.Recovery/AutoSave/MinSpaceConfigSave")); }
105 : private:
106 : MinSpaceConfigSave(); // not defined
107 : ~MinSpaceConfigSave(); // not defined
108 : };
109 :
110 : private:
111 : AutoSave(); // not defined
112 : ~AutoSave(); // not defined
113 : };
114 :
115 : } } }
116 :
117 : #endif
|