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 
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: */
Definition: KEY2Token.h:366
virtual void applyPresentationSize(boost::optional< KEYSize > &size) const =0
Definition: KEY1Token.h:72
Definition: KEY2Token.h:325
virtual ~KEYDefaults()=0
Definition: KEYDefaults.cpp:15
A representation of default values for various parts of the format.
Definition: KEYDefaults.h:30
virtual void applyGeometry(boost::optional< KEYSize > &naturalSize, boost::optional< KEYPosition > &position) const =0

Generated for libetonyek by doxygen 1.8.5