eDVBFrontendParametersTerrestrial terrestrial;
};
int m_type;
+ int m_flags;
public:
eDVBFrontendParameters();
~eDVBFrontendParameters()
RESULT getHash(unsigned long &) const;
RESULT calcLockTimeout(unsigned int &) const;
+
+ RESULT getFlags(unsigned int &flags) const { flags = m_flags; return 0; }
+ RESULT setFlags(unsigned int flags) { m_flags = flags; return 0; }
};
#ifndef SWIG
Signal1<void,iDVBFrontend*> m_stateChanged;
private:
DECLARE_REF(eDVBFrontend);
+ bool m_simulate;
bool m_enabled;
int m_type;
int m_dvbid;
FRONTENDPARAMETERS parm;
int m_state;
ePtr<iDVBSatelliteEquipmentControl> m_sec;
- eSocketNotifier *m_sn;
+ ePtr<eSocketNotifier> m_sn;
int m_tuning;
- eTimer *m_timeout;
- eTimer *m_tuneTimer;
+ ePtr<eTimer> m_timeout, m_tuneTimer;
eSecCommandList m_sec_sequence;
bool setSecSequencePos(int steps);
static int PriorityOrder;
public:
- eDVBFrontend(int adap, int fe, int &ok);
+ eDVBFrontend(int adap, int fe, int &ok, bool simulate=false);
virtual ~eDVBFrontend();
int readInputpower();
int openFrontend();
int closeFrontend(bool force=false);
const char *getDescription() const { return m_description; }
+ bool is_simulate() const { return m_simulate; }
};
#endif // SWIG