summaryrefslogtreecommitdiff
path: root/skinnopacity.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-11-07 16:58:07 +0100
committerlouis <louis.braun@gmx.de>2013-11-07 16:58:07 +0100
commite09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7 (patch)
tree7886779ba33b466b2fe9ca67362183dabe08597e /skinnopacity.c
parent0bbbad6d8057953ae51e9465bd76e5a3256e5eee (diff)
downloadskin-nopacity-e09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7.tar.gz
skin-nopacity-e09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7.tar.bz2
changed build environment that every class is build seperately
Diffstat (limited to 'skinnopacity.c')
-rw-r--r--skinnopacity.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/skinnopacity.c b/skinnopacity.c
index f31a902..2c6bd3e 100644
--- a/skinnopacity.c
+++ b/skinnopacity.c
@@ -8,7 +8,11 @@
#include <getopt.h>
#include <vdr/plugin.h>
-#include "nopacity.c"
+#define DEFINE_CONFIG 1
+#include "config.h"
+#include "nopacity.h"
+#include "setup.h"
+
#if defined(APIVERSNUM) && APIVERSNUM < 10734
#error "VDR-1.7.34 API version or greater is required!"
@@ -57,7 +61,7 @@ cPluginNopacity::~cPluginNopacity()
const char *cPluginNopacity::CommandLineHelp(void)
{
- return
+ return
" -e <EPGIMAGESPATH>, --epgimages=<IMAGESPATH> Set directory where epgimages are stored\n"
" -i <ICONSPATH>, --iconpath=<ICONSPATH> Set directory where Menu Icons are stored\n"
" -l <LOGOPATH>, --logopath=<LOGOPATH> Set directory where Channel Logos are stored.\n";
@@ -101,7 +105,7 @@ bool cPluginNopacity::Start(void) {
return false;
} else
dsyslog("nopacity: TrueColor OSD found");
-
+
imgCache = new cImageCache();
nopacity = new cNopacity(imgCache);
return nopacity;