/src/libreoffice/include/vcl/weld/TriStateEnabled.hxx
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ |
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 | | #pragma once |
11 | | |
12 | | #include <vcl/dllapi.h> |
13 | | #include <vcl/weld/CheckButton.hxx> |
14 | | |
15 | | namespace weld |
16 | | { |
17 | | struct VCL_DLLPUBLIC TriStateEnabled |
18 | | { |
19 | | TriState eState; |
20 | | bool bTriStateEnabled; |
21 | | TriStateEnabled() |
22 | 0 | : eState(TRISTATE_INDET) |
23 | 0 | , bTriStateEnabled(true) |
24 | 0 | { |
25 | 0 | } |
26 | | void CheckButtonToggled(CheckButton& rToggle); |
27 | | }; |
28 | | } |
29 | | |
30 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |