From f0ce22b6b9cfda828ef000d652a0f4e2dc24334d Mon Sep 17 00:00:00 2001 From: mrwastl Date: Tue, 4 May 2010 23:59:24 +0200 Subject: changing of brightness; external service informations from plugins radiotext and lcr --- state.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'state.h') diff --git a/state.h b/state.h index 608139d..5182586 100644 --- a/state.h +++ b/state.h @@ -4,6 +4,7 @@ * state.h - status monitor class * * (c) 2001-2004 Carsten Siebholz + * (c) 2010 Wolfgang Astleitner **/ #ifndef _GRAPHLCD_STATE_H_ @@ -92,6 +93,23 @@ struct tVolumeState uint64_t lastChange; }; +// Radiotext +struct RadioTextService_v1_0 { + int rds_info; + int rds_pty; + char *rds_text; + char *rds_title; + char *rds_artist; + struct tm *title_start; +}; + +// LcrData +struct LcrService_v1_0 { + cString destination; + cString price; + cString pulse; +}; + class cGraphLCDDisplay; class cGraphLCDState : public cStatus @@ -111,6 +129,11 @@ private: tOsdState mOsd; tVolumeState mVolume; + RadioTextService_v1_0 checkRTSData, currRTSData; + LcrService_v1_0 checkLcrData, currLcrData; + bool rtsChanged, rtsActive; + bool lcrChanged, lcrActive; + void SetChannel(int ChannelNumber); void UpdateChannelInfo(void); void UpdateEventInfo(void); @@ -145,6 +168,8 @@ public: tOsdState GetOsdState(); tVolumeState GetVolumeState(); bool ShowMessage(); + + bool CheckServiceEventUpdate(); }; #endif -- cgit v1.2.3