Line data Source code
1 : #ifndef INCLUDED_OFFICECFG_INET_HXX
2 : #define INCLUDED_OFFICECFG_INET_HXX
3 :
4 : #include "sal/config.h"
5 :
6 : #include "boost/optional.hpp"
7 : #include "rtl/ustring.h"
8 : #include "rtl/ustring.hxx"
9 : #include "sal/types.h"
10 : #include "comphelper/configuration.hxx"
11 :
12 : namespace officecfg { namespace Inet {
13 :
14 : struct Settings: public comphelper::ConfigurationGroup< Settings> {
15 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings")); }
16 :
17 : struct ooInetDNSServer: public comphelper::ConfigurationProperty<ooInetDNSServer, rtl::OUString> {
18 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetDNSServer")); }
19 : private:
20 : ooInetDNSServer(); // not defined
21 : ~ooInetDNSServer(); // not defined
22 : };
23 :
24 : struct ooInetNoProxy: public comphelper::ConfigurationProperty<ooInetNoProxy, rtl::OUString> {
25 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetNoProxy")); }
26 : private:
27 : ooInetNoProxy(); // not defined
28 : ~ooInetNoProxy(); // not defined
29 : };
30 :
31 : struct ooInetProxyType: public comphelper::ConfigurationProperty<ooInetProxyType, boost::optional<sal_Int32> > {
32 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetProxyType")); }
33 : private:
34 : ooInetProxyType(); // not defined
35 : ~ooInetProxyType(); // not defined
36 : };
37 :
38 : struct ooInetFTPProxyName: public comphelper::ConfigurationProperty<ooInetFTPProxyName, rtl::OUString> {
39 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetFTPProxyName")); }
40 : private:
41 : ooInetFTPProxyName(); // not defined
42 : ~ooInetFTPProxyName(); // not defined
43 : };
44 :
45 : struct ooInetFTPProxyPort: public comphelper::ConfigurationProperty<ooInetFTPProxyPort, boost::optional<sal_Int32> > {
46 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetFTPProxyPort")); }
47 : private:
48 : ooInetFTPProxyPort(); // not defined
49 : ~ooInetFTPProxyPort(); // not defined
50 : };
51 :
52 : struct ooInetHTTPProxyName: public comphelper::ConfigurationProperty<ooInetHTTPProxyName, rtl::OUString> {
53 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetHTTPProxyName")); }
54 : private:
55 : ooInetHTTPProxyName(); // not defined
56 : ~ooInetHTTPProxyName(); // not defined
57 : };
58 :
59 : struct ooInetHTTPProxyPort: public comphelper::ConfigurationProperty<ooInetHTTPProxyPort, boost::optional<sal_Int32> > {
60 0 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetHTTPProxyPort")); }
61 : private:
62 : ooInetHTTPProxyPort(); // not defined
63 : ~ooInetHTTPProxyPort(); // not defined
64 : };
65 :
66 : struct ooInetHTTPSProxyName: public comphelper::ConfigurationProperty<ooInetHTTPSProxyName, rtl::OUString> {
67 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetHTTPSProxyName")); }
68 : private:
69 : ooInetHTTPSProxyName(); // not defined
70 : ~ooInetHTTPSProxyName(); // not defined
71 : };
72 :
73 : struct ooInetHTTPSProxyPort: public comphelper::ConfigurationProperty<ooInetHTTPSProxyPort, boost::optional<sal_Int32> > {
74 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetHTTPSProxyPort")); }
75 : private:
76 : ooInetHTTPSProxyPort(); // not defined
77 : ~ooInetHTTPSProxyPort(); // not defined
78 : };
79 :
80 : struct ooInetSOCKSProxyName: public comphelper::ConfigurationProperty<ooInetSOCKSProxyName, rtl::OUString> {
81 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetSOCKSProxyName")); }
82 : private:
83 : ooInetSOCKSProxyName(); // not defined
84 : ~ooInetSOCKSProxyName(); // not defined
85 : };
86 :
87 : struct ooInetSOCKSProxyPort: public comphelper::ConfigurationProperty<ooInetSOCKSProxyPort, boost::optional<sal_Int32> > {
88 : static rtl::OUString path() { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Inet/Settings/ooInetSOCKSProxyPort")); }
89 : private:
90 : ooInetSOCKSProxyPort(); // not defined
91 : ~ooInetSOCKSProxyPort(); // not defined
92 : };
93 :
94 : private:
95 : Settings(); // not defined
96 : ~Settings(); // not defined
97 : };
98 :
99 : } }
100 :
101 : #endif
|