Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
config-keys.hpp
Go to the documentation of this file.
1 /*
2  CONFIG-KEYS.hpp - magic keys to query the global application configuration
3 
4  Copyright (C) Lumiera.org
5  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6  2017, Hermann Vosseler <Ichthyostega@web.de>
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of
11  the License, or (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 
22 */
23 
24 
45 #ifndef GUI_CONFIG_KEYS_H
46 #define GUI_CONFIG_KEYS_H
47 
48 
49 #include "lib/symbol.hpp"
50 #include "include/config-facade.h"
51 
52 
53 
54 namespace gui {
55 
56  using lib::Literal;
57  using lumiera::Config;
58 
59  extern Literal KEY_TITLE;
60  extern Literal KEY_VERSION;
61  extern Literal KEY_WEBSITE;
62  extern Literal KEY_AUTHORS;
63  extern Literal KEY_COPYRIGHT;
64 
65  extern Literal KEY_STYLESHEET;
66  extern Literal KEY_UIRES_PATH;
67  extern Literal KEY_ICON_PATH;
68 
69 
70 }// namespace gui
71 #endif /*GUI_CONFIG_KEYS_H*/
Literal KEY_UIRES_PATH
Definition: config-keys.cpp:45
Literal KEY_COPYRIGHT
Definition: config-keys.cpp:42
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
Literal KEY_ICON_PATH
Definition: config-keys.cpp:46
inline string literal This is a marker type to indicate that
Definition: symbol.hpp:75
Literal KEY_TITLE
Definition: config-keys.cpp:38
Literal KEY_AUTHORS
Definition: config-keys.cpp:41
The lumiera::Config wrapper class addresses two issues.
Marker types to indicate a literal string and a Symbol.
Literal KEY_VERSION
Definition: config-keys.cpp:39
Literal KEY_WEBSITE
Definition: config-keys.cpp:40
LumieraError< LERR_(CONFIG), Invalid > Config
Definition: error.hpp:217
Literal KEY_STYLESHEET
Definition: config-keys.cpp:44