build fix
[LibreOffice.git] / include / unotools / itemholderbase.hxx
blobb8b075c21e196398a2549158be86055765e36b9c
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_UNOTOOLS_ITEMHOLDERBASE_HXX
21 #define INCLUDED_UNOTOOLS_ITEMHOLDERBASE_HXX
23 #include <vector>
24 #include <osl/mutex.hxx>
26 namespace utl { namespace detail { class Options; } }
28 struct ItemHolderMutexBase
30 ::osl::Mutex m_aLock;
33 enum EItem
35 E_ACCESSIBILITYOPTIONS , // 2
36 E_APEARCFG , // 2
38 E_CJKOPTIONS , // 2
39 E_CMDOPTIONS ,
40 E_COLORCFG , // 2
41 E_COMPATIBILITY ,
42 E_CTLOPTIONS , // 2
44 E_DEFAULTOPTIONS ,
45 E_DYNAMICMENUOPTIONS ,
47 E_EVENTCFG ,
48 E_EXTENDEDSECURITYOPTIONS ,
50 E_FLTRCFG ,
51 E_FONTOPTIONS ,
52 E_FONTSUBSTCONFIG , // 2
54 E_HELPOPTIONS , // 2
55 E_HISTORYOPTIONS ,
57 E_LANGUAGEOPTIONS , // 2
58 E_LINGUCFG ,
60 E_MENUOPTIONS ,
61 E_MISCCFG , // 2
62 E_MISCOPTIONS ,
63 E_MODULEOPTIONS ,
65 E_OPTIONSDLGOPTIONS ,
67 E_PATHOPTIONS ,
68 E_PRINTOPTIONS , // 2
69 E_PRINTFILEOPTIONS , // 2
70 E_PRINTWARNINGOPTIONS ,
72 E_SAVEOPTIONS ,
73 E_SEARCHOPT ,
74 E_SECURITYOPTIONS ,
75 E_SYSLOCALEOPTIONS , // 2
77 E_USEROPTIONS , // 2
79 E_VIEWOPTIONS_DIALOG ,
80 E_VIEWOPTIONS_TABDIALOG ,
81 E_VIEWOPTIONS_TABPAGE ,
82 E_VIEWOPTIONS_WINDOW
85 struct TItemInfo
87 TItemInfo()
88 : pItem(nullptr)
89 , eItem(E_USEROPTIONS)
93 utl::detail::Options * pItem;
94 EItem eItem;
97 typedef ::std::vector< TItemInfo > TItems;
99 #endif // INCLUDED_UNOTOOLS_ITEMHOLDERBASE_HXX
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */