From 8aa2c81d3165a0517115337362f1203ea4bdd899 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 7 Dec 2013 15:51:50 +0100 Subject: changed build system --- tvguide.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'tvguide.c') diff --git a/tvguide.c b/tvguide.c index 1d180b0..a22fb37 100644 --- a/tvguide.c +++ b/tvguide.c @@ -13,14 +13,16 @@ #include #include -#include "tvguideosd.c" +#define DEFINE_CONFIG 1 +#include "config.h" +#include "setup.h" +#include "tvguideosd.h" + #if defined(APIVERSNUM) && APIVERSNUM < 20000 #error "VDR-2.0.0 API version or greater is required!" #endif - - static const char *VERSION = "1.1.0"; static const char *DESCRIPTION = "A fancy 2d EPG Viewer"; static const char *MAINMENUENTRY = "Tvguide"; @@ -115,10 +117,11 @@ bool cPluginTvguide::ProcessArgs(int argc, char *argv[]) return true; } -bool cPluginTvguide::Initialize(void) -{ - // Initialize any background activities the plugin shall perform. - return true; +bool cPluginTvguide::Initialize(void) { + esyslog("tvguide: Initialize"); + esyslog("tvguide: OSD Wwidth %d, OSD Height %d", cOsd::OsdWidth(), cOsd::OsdHeight()); + esyslog("tvguide: numRows: %d, numCols: %d", tvguideConfig.channelRows, tvguideConfig.channelCols); + return true; } bool cPluginTvguide::Start(void) -- cgit v1.2.3