vdr-plugin-skindesigner/views/viewhelpers.h

25 lines
971 B
C
Raw Normal View History

2014-10-25 20:10:00 +02:00
#ifndef __VIEWHELPERS_H
#define __VIEWHELPERS_H
class cViewHelpers {
2014-10-25 20:10:00 +02:00
private:
bool devicesInit;
int* lastSignalStrength;
int* lastSignalQuality;
bool* recDevices;
2015-01-06 06:07:48 +01:00
int lastSecond;
int lastMinute;
2014-10-25 20:10:00 +02:00
protected:
void InitDevices(void);
bool SetDevices(bool initial, map<string,int> *intTokens, vector<map<string,string> > *devices);
bool CheckNewMails(void);
void SetScraperTokens(const cEvent *event, const cRecording *recording, map < string, string > &stringTokens, map < string, int > &intTokens, map < string, vector< map< string, string > > > &loopTokens);
2015-01-06 06:07:48 +01:00
bool SetTime(map < string, string > &stringTokens, map < string, int > &intTokens);
bool SetDate(map < string, string > &stringTokens, map < string, int > &intTokens);
2015-01-13 09:01:11 +01:00
void SetCurrentWeatherTokens(map < string, string > &stringTokens, map < string, int > &intTokens);
2014-10-25 20:10:00 +02:00
public:
cViewHelpers(void);
virtual ~cViewHelpers(void);
};
#endif //__VIEWHELPERS_H