diff options
Diffstat (limited to 'state.h')
-rw-r--r-- | state.h | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -4,6 +4,7 @@ * state.h - status monitor class * * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de> + * (c) 2010 Wolfgang Astleitner <mrwastl AT users sourceforge net> **/ #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 |