Line data Source code
1 : #ifndef INCLUDED_OFFICECFG_SYSTEM_HXX
2 : #define INCLUDED_OFFICECFG_SYSTEM_HXX
3 :
4 : #include "sal/config.h"
5 :
6 : #include "rtl/ustring.h"
7 : #include "rtl/ustring.hxx"
8 : #include "comphelper/configuration.hxx"
9 :
10 : namespace officecfg { namespace System {
11 :
12 : struct L10N: public comphelper::ConfigurationGroup< L10N> {
13 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.System/L10N")); }
14 :
15 : struct Locale: public comphelper::ConfigurationProperty<Locale, rtl::OUString> {
16 11 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.System/L10N/Locale")); }
17 : private:
18 : Locale(); // not defined
19 : ~Locale(); // not defined
20 : };
21 :
22 : struct UILocale: public comphelper::ConfigurationProperty<UILocale, rtl::OUString> {
23 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.System/L10N/UILocale")); }
24 : private:
25 : UILocale(); // not defined
26 : ~UILocale(); // not defined
27 : };
28 :
29 : struct SystemLocale: public comphelper::ConfigurationProperty<SystemLocale, rtl::OUString> {
30 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.System/L10N/SystemLocale")); }
31 : private:
32 : SystemLocale(); // not defined
33 : ~SystemLocale(); // not defined
34 : };
35 :
36 : private:
37 : L10N(); // not defined
38 : ~L10N(); // not defined
39 : };
40 :
41 : } }
42 :
43 : #endif
|