diff options
author | Soeren Moch <smoch@web.de> | 2021-02-13 14:03:29 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-02-16 11:31:28 +0100 |
commit | 05c188d3e03f41fcfdcb1e070a638c55d8cb491e (patch) | |
tree | 21f92f4a8a12c705d71842ce7169c0a40af5577d /config.h | |
parent | 404ed1b377c11c7c3a0bebac9b7f4b9f983af424 (diff) | |
download | skin-nopacity-05c188d3e03f41fcfdcb1e070a638c55d8cb491e.tar.gz skin-nopacity-05c188d3e03f41fcfdcb1e070a638c55d8cb491e.tar.bz2 |
Cleanup global declarations
Follow the usual pattern to implement global variables in source files
and declare these variables as extern in corresponding headers.
Signed-off-by: Soeren Moch <smoch@web.de>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -58,17 +58,9 @@ class cNopacityConfig { cString epgImagePath; bool mainMenuEntry; }; -#ifdef DEFINE_CONFIG - cNopacityConfig config; - cGeometryManager *geoManager; - cFontManager *fontManager; - cTheme Theme; -#else - extern cNopacityConfig config; - extern cGeometryManager *geoManager; - extern cFontManager *fontManager; - extern cTheme Theme; -#endif + +extern cNopacityConfig config; +extern cTheme Theme; //COMMON #define CLR_TRANSPARENT 0x00000000 |