LibreOffice Module unotools (master)
1
include
unotools
itemholderbase.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
20
#ifndef INCLUDED_UNOTOOLS_ITEMHOLDERBASE_HXX
21
#define INCLUDED_UNOTOOLS_ITEMHOLDERBASE_HXX
22
23
#include <memory>
24
#include <
unotools/options.hxx
>
25
26
enum class
EItem
27
{
28
AccessibilityOptions
,
// 2
29
30
CmdOptions
,
31
ColorConfig
,
// 2
32
Compatibility
,
33
CTLOptions
,
// 2
34
35
EventConfig
,
36
37
LinguConfig
,
38
39
MiscOptions
,
40
ModuleOptions
,
41
42
PathOptions
,
43
44
SysLocaleOptions
,
// 2
45
46
UserOptions
,
// 2
47
};
48
49
struct
TItemInfo
50
{
51
TItemInfo
()
52
:
eItem
(
EItem
::
UserOptions
)
53
{
54
}
55
56
TItemInfo
(
TItemInfo
&& other) noexcept
57
:
pItem
(std::move(other.pItem))
58
,
eItem
(other.eItem)
59
{
60
}
61
62
std::unique_ptr<utl::detail::Options>
pItem
;
63
EItem
eItem
;
64
};
65
66
#endif
// INCLUDED_UNOTOOLS_ITEMHOLDERBASE_HXX
67
68
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
EItem
EItem
Definition:
itemholderbase.hxx:27
EItem::UserOptions
@ UserOptions
EItem::ColorConfig
@ ColorConfig
EItem::AccessibilityOptions
@ AccessibilityOptions
EItem::LinguConfig
@ LinguConfig
EItem::PathOptions
@ PathOptions
EItem::CmdOptions
@ CmdOptions
EItem::ModuleOptions
@ ModuleOptions
EItem::MiscOptions
@ MiscOptions
EItem::CTLOptions
@ CTLOptions
EItem::Compatibility
@ Compatibility
EItem::SysLocaleOptions
@ SysLocaleOptions
EItem::EventConfig
@ EventConfig
options.hxx
TItemInfo
Definition:
itemholderbase.hxx:50
TItemInfo::TItemInfo
TItemInfo(TItemInfo &&other) noexcept
Definition:
itemholderbase.hxx:56
TItemInfo::pItem
std::unique_ptr< utl::detail::Options > pItem
Definition:
itemholderbase.hxx:62
TItemInfo::TItemInfo
TItemInfo()
Definition:
itemholderbase.hxx:51
TItemInfo::eItem
EItem eItem
Definition:
itemholderbase.hxx:63
Generated on Sun Jul 30 2023 04:29:23 for LibreOffice Module unotools (master) by
1.9.3