LibreOffice Module vcl (master)
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
vcl
notebookbar
IPrioritable.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
10
#ifndef INCLUDED_VCL_IPRIORITABLE_HXX
11
#define INCLUDED_VCL_IPRIORITABLE_HXX
12
13
#include <
vcl/dllapi.h
>
14
15
#define VCL_PRIORITY_DEFAULT -1
16
17
namespace
vcl
18
{
19
20
class
VCL_DLLPUBLIC
IPrioritable
21
{
22
protected
:
23
IPrioritable
() : m_nPriority(
VCL_PRIORITY_DEFAULT
)
24
{
25
}
26
27
public
:
28
virtual
~IPrioritable
()
29
{
30
}
31
32
int
GetPriority
()
const
33
{
34
return
m_nPriority;
35
}
36
37
void
SetPriority
(
int
nPriority)
38
{
39
m_nPriority = nPriority;
40
}
41
42
virtual
void
HideContent() = 0;
43
virtual
void
ShowContent() = 0;
44
virtual
bool
IsHidden
() = 0;
45
46
private
:
47
int
m_nPriority
;
48
};
49
50
}
// namespace vcl
51
52
#endif // INCLUDED_VCL_IPRIORITABLE_HXX
53
54
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
vcl::IPrioritable::~IPrioritable
virtual ~IPrioritable()
Definition:
IPrioritable.hxx:28
vcl::IPrioritable
Definition:
IPrioritable.hxx:20
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
vcl
vcl::IPrioritable::m_nPriority
int m_nPriority
Definition:
IPrioritable.hxx:47
IsHidden
constexpr OUStringLiteral IsHidden(u"IsHidden")
dllapi.h
vcl::IPrioritable::GetPriority
int GetPriority() const
Definition:
IPrioritable.hxx:32
vcl::IPrioritable::IPrioritable
IPrioritable()
Definition:
IPrioritable.hxx:23
vcl::IPrioritable::SetPriority
void SetPriority(int nPriority)
Definition:
IPrioritable.hxx:37
VCL_PRIORITY_DEFAULT
#define VCL_PRIORITY_DEFAULT
Definition:
IPrioritable.hxx:15
Generated on Thu Jan 14 2021 06:20:48 for LibreOffice Module vcl (master) by
1.8.10