KEY1Defaults.h Source File documentation

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

- File List
- File Members

KEY1Defaults.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 KEY1DEFAULTS_H_INCLUDED
11 #define KEY1DEFAULTS_H_INCLUDED
12
13 #include "KEYDefaults.h"
14
15 namespace libetonyek
16 {
17
20 class KEY1Defaults : public KEYDefaults
21 {
22 public:
23 virtual ~KEY1Defaults();
24
25 virtual void applyPresentationSize(boost::optional<KEYSize> &size) const;
26
27 virtual void applyGeometry(boost::optional<KEYSize> &naturalSize, boost::optional<KEYPosition> &position) const;
28 };
29
30 }
31
32 #endif // KEY1DEFAULTS_H_INCLUDED
33
34 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: EtonyekDocument.cpp:40
libetonyek::KEY1Defaults::applyGeometry
virtual void applyGeometry(boost::optional< KEYSize > &naturalSize, boost::optional< KEYPosition > &position) const
Definition: KEY1Defaults.cpp:25
libetonyek::KEY2Token::position
Definition: KEY2Token.h:366
libetonyek::KEY1Token::size
Definition: KEY1Token.h:72
KEYDefaults.h
libetonyek::KEY1Defaults::applyPresentationSize
virtual void applyPresentationSize(boost::optional< KEYSize > &size) const
Definition: KEY1Defaults.cpp:19
libetonyek::KEY2Token::naturalSize
Definition: KEY2Token.h:325
libetonyek::KEY1Defaults
Default values for version 1 of the format.
Definition: KEY1Defaults.h:20
libetonyek::KEYDefaults
A representation of default values for various parts of the format.
Definition: KEYDefaults.h:30
libetonyek::KEY1Defaults::~KEY1Defaults
virtual ~KEY1Defaults()
Definition: KEY1Defaults.cpp:15