KEYTypes.h Source File documentation

KEYTypes.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libetonyek 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 KEYTYPES_H_INCLUDED
11 #define KEYTYPES_H_INCLUDED
12
13 #include "KEYTypes_fwd.h"
14
15 #include <deque>
16
17 #include <boost/optional.hpp>
18
19 #include "libetonyek_utils.h"
20 #include "IWORKPath_fwd.h"
21 #include "IWORKStyle_fwd.h"
22 #include "IWORKText_fwd.h"
23 #include "IWORKTypes.h"
24
25 namespace libetonyek
26 {
27
28 struct KEYLayer
29 {
30 boost::optional<std::string> m_type;
31 boost::optional<IWORKOutputID_t> m_outputId;
32
33 KEYLayer();
34 };
35
36 struct KEYPlaceholder
37 {
38 boost::optional<bool> m_title;
39 boost::optional<bool> m_empty;
40 IWORKStylePtr_t m_style;
41 IWORKGeometryPtr_t m_geometry;
42 IWORKTextPtr_t m_text;
43
44 KEYPlaceholder();
45 };
46
47 }
48
49 #endif // KEYTYPES_H_INCLUDED
50
51 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKStyle_fwd.h
libetonyek::IWORKGeometryPtr_t
std::shared_ptr< IWORKGeometry > IWORKGeometryPtr_t
Definition: IWORKTypes_fwd.h:39
libetonyek
Definition: IWORKBezierElement.cpp:18
KEYTypes_fwd.h
libetonyek::KEYPlaceholder::m_style
IWORKStylePtr_t m_style
Definition: KEYTypes.h:40
libetonyek::KEYLayer::m_outputId
boost::optional< IWORKOutputID_t > m_outputId
Definition: KEYTypes.h:31
libetonyek::IWORKStylePtr_t
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
libetonyek::KEYPlaceholder
Definition: KEYTypes.h:36
libetonyek::KEYLayer::m_type
boost::optional< std::string > m_type
Definition: KEYTypes.h:30
libetonyek::KEYLayer
Definition: KEYTypes.h:28
libetonyek::KEYPlaceholder::m_empty
boost::optional< bool > m_empty
Definition: KEYTypes.h:39
libetonyek::KEYPlaceholder::m_text
IWORKTextPtr_t m_text
Definition: KEYTypes.h:42
libetonyek::IWORKTextPtr_t
std::shared_ptr< IWORKText > IWORKTextPtr_t
Definition: IWORKText_fwd.h:18
libetonyek::KEYLayer::KEYLayer
KEYLayer()
Definition: KEYTypes.cpp:21
IWORKPath_fwd.h
IWORKTypes.h
libetonyek::KEYPlaceholder::m_title
boost::optional< bool > m_title
Definition: KEYTypes.h:38
libetonyek::KEYPlaceholder::m_geometry
IWORKGeometryPtr_t m_geometry
Definition: KEYTypes.h:41
libetonyek_utils.h
IWORKText_fwd.h
libetonyek::KEYPlaceholder::KEYPlaceholder
KEYPlaceholder()
Definition: KEYTypes.cpp:27