From d8f8154bb9967da609354b27e25ae6f47ba6dd27 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Fri, 18 Jun 2010 22:52:36 +0200 Subject: 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 --- display.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'display.h') 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 @@ -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 -- cgit v1.2.3