- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

KEYDefaults.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 KEYDEFAULTS_H_INCLUDED
11 #define KEYDEFAULTS_H_INCLUDED
12
13 #include <boost/optional.hpp>
14
15 #include "KEYTypes.h"
16
17 namespace libetonyek
18 {
19
30 class KEYDefaults
31 {
32 public:
33 virtual ~KEYDefaults() = 0;
34
35 virtual void applyPresentationSize(boost::optional<KEYSize> &size) const = 0;
36
37 virtual void applyGeometry(boost::optional<KEYSize> &naturalSize, boost::optional<KEYPosition> &position) const = 0;
38 };
39
40 }
41
42 #endif // KEYDEFAULTS_H_INCLUDED
43
44 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
KEYTypes.h
libetonyek::KEY2Token::position
Definition: KEY2Token.h:366
libetonyek::KEYDefaults::applyPresentationSize
virtual void applyPresentationSize(boost::optional< KEYSize > &size) const =0
libetonyek::KEY1Token::size
Definition: KEY1Token.h:72
libetonyek::KEY2Token::naturalSize
Definition: KEY2Token.h:325
libetonyek::KEYDefaults::~KEYDefaults
virtual ~KEYDefaults()=0
Definition: KEYDefaults.cpp:15
libetonyek::KEYDefaults
A representation of default values for various parts of the format.
Definition: KEYDefaults.h:30
libetonyek::KEYDefaults::applyGeometry
virtual void applyGeometry(boost::optional< KEYSize > &naturalSize, boost::optional< KEYPosition > &position) const =0