fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / shell / source / backends / gconfbe / gconfaccess.hxx
blobbad128df9b6728e20b0f7720d4faa75d8db3504f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SHELL_SOURCE_BACKENDS_GCONFBE_GCONFACCESS_HXX
21 #define INCLUDED_SHELL_SOURCE_BACKENDS_GCONFBE_GCONFACCESS_HXX
23 #include "sal/config.h"
25 #include <cstddef>
27 #include "com/sun/star/beans/Optional.hpp"
28 #include "gconf/gconf-client.h"
29 #include "sal/types.h"
31 namespace com { namespace sun { namespace star { namespace uno {
32 class Any;
33 } } } }
35 namespace gconfaccess {
37 enum ConfigurationSetting
39 SETTING_PROXY_MODE,
40 SETTING_PROXY_HTTP_HOST,
41 SETTING_PROXY_HTTP_PORT,
42 SETTING_PROXY_HTTPS_HOST,
43 SETTING_PROXY_HTTPS_PORT,
44 SETTING_PROXY_FTP_HOST,
45 SETTING_PROXY_FTP_PORT,
46 SETTING_NO_PROXY_FOR,
47 SETTING_ENABLE_ACCESSIBILITY,
48 SETTING_MAILER_PROGRAM,
49 SETTING_WORK_DIRECTORY,
50 SETTING_TEMPLATE_DIRECTORY,
51 SETTING_SOURCEVIEWFONT_NAME,
52 SETTING_SOURCEVIEWFONT_HEIGHT,
53 SETTING_USER_GIVENNAME,
54 SETTING_USER_SURNAME,
56 #ifdef ENABLE_LOCKDOWN
58 SETTING_DISABLE_PRINTING,
59 SETTING_USE_SYSTEM_FILE_DIALOG,
60 SETTING_PRINTING_MODIFIES_DOCUMENT,
61 SETTING_SHOW_ICONS_IN_MENUS,
62 SETTING_SHOW_INACTIVE_MENUITEMS,
63 SETTING_SHOW_FONT_PREVIEW,
64 SETTING_SHOW_FONT_HISTORY,
65 SETTING_SAVE_DOCUMENT_WINDOWS,
66 SETTING_SAVE_DOCUMENT_VIEW_INFO,
67 SETTING_USE_SYSTEM_FONT,
68 SETTING_USE_FONT_ANTI_ALIASING,
69 SETTING_FONT_ANTI_ALIASING_MIN_PIXEL,
70 SETTING_WARN_CREATE_PDF,
71 SETTING_WARN_PRINT_DOC,
72 SETTING_WARN_SAVEORSEND_DOC,
73 SETTING_WARN_SIGN_DOC,
74 SETTING_REMOVE_PERSONAL_INFO,
75 SETTING_RECOMMEND_PASSWORD,
76 SETTING_UNDO_STEPS,
77 SETTING_SYMBOL_SET,
78 SETTING_MACRO_SECURITY_LEVEL,
79 SETTING_CREATE_BACKUP,
80 SETTING_WARN_ALIEN_FORMAT,
81 SETTING_AUTO_SAVE,
82 SETTING_USER_AUTO_SAVE,
83 SETTING_AUTO_SAVE_INTERVAL,
84 SETTING_WRITER_DEFAULT_DOC_FORMAT,
85 SETTING_IMPRESS_DEFAULT_DOC_FORMAT,
86 SETTING_CALC_DEFAULT_DOC_FORMAT,
88 #endif // ENABLE_LOCKDOWN
90 SETTINGS_LAST
93 struct ConfigurationValue
95 const ConfigurationSetting nSettingId;
96 const gchar *GconfItem;
97 const char *OOoConfItem;
98 const sal_Int32 nOOoConfItemLen;
99 const bool bNeedsTranslation;
100 const ConfigurationSetting nDependsOn;
103 extern ConfigurationValue const ConfigurationValues[];
105 extern std::size_t const nConfigurationValues;
107 com::sun::star::beans::Optional< com::sun::star::uno::Any > getValue(
108 ConfigurationValue const & data);
112 #endif
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */