summaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2010-06-18 22:52:36 +0200
committermrwastl <mrwastl@users.sourceforge.net>2010-06-18 22:52:36 +0200
commitd8f8154bb9967da609354b27e25ae6f47ba6dd27 (patch)
tree2d34e0601ca87a024d6e13a295c8883ee73ec9fb /display.h
parent4f8e89fbe330a263130ca066a1671297f939e42d (diff)
downloadvdr-plugin-graphlcd-d8f8154bb9967da609354b27e25ae6f47ba6dd27.tar.gz
vdr-plugin-graphlcd-d8f8154bb9967da609354b27e25ae6f47ba6dd27.tar.bz2
new class for external services (service informations from other plugins: defined for now: radiotext, lcr, femon); radiotext/lcr-hack no longer necessary because of ext. services; new tokens for ext. services; bug fixes (casting, uint64_t, update detection); patches for femon <= 1.7.7
Diffstat (limited to 'display.h')
-rw-r--r--display.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/display.h b/display.h
index a86dc53..261ad55 100644
--- a/display.h
+++ b/display.h
@@ -28,6 +28,8 @@
#include "state.h"
#include "skinconfig.h"
+#include "service.h"
+
#include <vdr/thread.h>
@@ -56,6 +58,7 @@ public:
void ForceUpdateBrightness();
+ const cGraphLCDService * GetServiceObject() const { return mService; }
protected:
virtual void Action();
@@ -79,11 +82,13 @@ private:
void UpdateIn(uint64_t msec);
- /** set brightness depending on user activity */
+ /* set brightness depending on user activity */
void SetBrightness();
uint64_t LastTimeBrightness;
int nCurrentBrightness;
bool bBrightnessActive;
+ /* external services */
+ cGraphLCDService * mService;
};
#endif