vdr-plugin-skindesigner/views/viewhelpers.h

29 lines
897 B
C
Raw Normal View History

2014-10-25 20:10:00 +02:00
#ifndef __VIEWHELPERS_H
#define __VIEWHELPERS_H
#include <vdr/status.h>
#include "../libcore/femonreceiver.h"
class cViewHelpers : public cStatus {
2014-10-25 20:10:00 +02:00
private:
bool devicesInit;
int* lastSignalStrength;
int* lastSignalQuality;
bool* recDevices;
cFemonReceiver *femonReceiver;
double bitrateVideoLast;
double bitrateAudioLast;
double bitrateDolbyLast;
2014-10-25 20:10:00 +02:00
protected:
virtual void ChannelSwitch(const cDevice *device, int channelNumber, bool liveView);
virtual void SetAudioTrack(int Index, const char * const *Tracks);
void InitDevices(void);
bool SetDevices(bool initial, map<string,int> *intTokens, vector<map<string,string> > *devices);
void InitFemonReceiver(void);
bool GetBitrates(double &bitrateVideo, double &bitrateAudio, double &bitrateDolby);
2014-10-25 20:10:00 +02:00
public:
cViewHelpers(void);
virtual ~cViewHelpers(void);
};
#endif //__VIEWHELPERS_H