class eActionMap: public iObject
{
DECLARE_REF(eActionMap);
+#ifdef SWIG
+ eActionMap();
+ ~eActionMap();
+#endif
public:
#ifndef SWIG
eActionMap();
class eAVSwitch
{
static eAVSwitch *instance;
-
+#ifdef SWIG
+ eAVSwitch();
+ ~eAVSwitch();
+#endif
protected:
public:
+#ifndef SWIG
eAVSwitch();
~eAVSwitch();
-
+#endif
static eAVSwitch *getInstance();
void setFastBlank(int val);
static eRFmod *instance;
int fd;
-protected:
+#ifdef SWIG
+ eRFmod();
+ ~eRFmod();
+#endif
public:
+#ifndef SWIG
eRFmod();
~eRFmod();
-
+#endif
static eRFmod *getInstance();
void setFunction(int val); //0=Enable 1=Disable
void writeTimeOffsetData(const char*);
void updateTime(time_t tp_time, eDVBChannel*, int updateCount);
static eDVBLocalTimeHandler *instance;
+#ifdef SWIG
+ eDVBLocalTimeHandler();
+ ~eDVBLocalTimeHandler();
+#endif
public:
#ifndef SWIG
PSignal0<void> m_timeUpdated;
timeMap::iterator m_timemap_cursor, m_timemap_end;
int currentQueryTsidOnid; // needed for getNextTimeEntry.. only valid until next startTimeQuery call
+#else
+ eEPGCache();
+ ~eEPGCache();
#endif // SWIG
public:
static eEPGCache *getInstance() { return instance; }
return secSequence.size();
}
};
+#endif
class eDVBSatelliteDiseqcParameters
{
+#ifdef SWIG
+ eDVBSatelliteDiseqcParameters();
+ ~eDVBSatelliteDiseqcParameters();
+#endif
public:
enum { AA=0, AB=1, BA=2, BB=3, SENDNO=4 /* and 0xF0 .. 0xFF*/ }; // DiSEqC Parameter
- __u8 m_committed_cmd;
-
enum t_diseqc_mode { NONE=0, V1_0=1, V1_1=2, V1_2=3, SMATV=4 }; // DiSEqC Mode
- t_diseqc_mode m_diseqc_mode;
-
enum t_toneburst_param { NO=0, A=1, B=2 };
+#ifndef SWIG
+ __u8 m_committed_cmd;
+ t_diseqc_mode m_diseqc_mode;
t_toneburst_param m_toneburst_param;
__u8 m_repeats; // for cascaded switches
4) uncommitted, committed, toneburst
5) toneburst, uncommitted, committed */
__u8 m_uncommitted_cmd; // state of the 4 uncommitted switches..
+#endif
};
class eDVBSatelliteSwitchParameters
{
+#ifdef SWIG
+ eDVBSatelliteSwitchParameters();
+ ~eDVBSatelliteSwitchParameters();
+#endif
public:
enum t_22khz_signal { HILO=0, ON=1, OFF=2 }; // 22 Khz
enum t_voltage_mode { HV=0, _14V=1, _18V=2, _0V=3 }; // 14/18 V
+#ifndef SWIG
t_voltage_mode m_voltage_mode;
t_22khz_signal m_22khz_signal;
__u8 m_rotorPosNum; // 0 is disable.. then use gotoxx
+#endif
};
class eDVBSatelliteRotorParameters
{
+#ifdef SWIG
+ eDVBSatelliteRotorParameters();
+ ~eDVBSatelliteRotorParameters();
+#endif
public:
enum { NORTH, SOUTH, EAST, WEST };
-
+#ifndef SWIG
eDVBSatelliteRotorParameters() { setDefaultOptions(); }
struct eDVBSatelliteRotorInputpowerParameters
m_gotoxx_parameters.m_longitude = 0.0;
m_gotoxx_parameters.m_latitude = 0.0;
}
+#endif
};
class eDVBSatelliteLNBParameters
{
+#ifdef SWIG
+ eDVBSatelliteLNBParameters();
+ ~eDVBSatelliteLNBParameters();
+#endif
public:
enum t_12V_relais_state { OFF=0, ON };
+#ifndef SWIG
t_12V_relais_state m_12V_relais_state; // 12V relais output on/off
__u8 tuner_mask; // useable by tuner ( 1 | 2 | 4...)
std::map<int, eDVBSatelliteSwitchParameters> m_satellites;
eDVBSatelliteDiseqcParameters m_diseqc_parameters;
eDVBSatelliteRotorParameters m_rotor_parameters;
-};
#endif
+};
class eDVBRegisteredFrontend;
eSmartPtrList<eDVBRegisteredFrontend> &m_avail_frontends;
bool m_rotorMoving;
#endif
+#ifdef SWIG
+ eDVBSatelliteEquipmentControl();
+ ~eDVBSatelliteEquipmentControl();
+#endif
public:
- eDVBSatelliteEquipmentControl(eSmartPtrList<eDVBRegisteredFrontend> &avail_frontends);
#ifndef SWIG
+ eDVBSatelliteEquipmentControl(eSmartPtrList<eDVBRegisteredFrontend> &avail_frontends);
DECLARE_REF(eDVBSatelliteEquipmentControl);
RESULT prepare(iDVBFrontend &frontend, FRONTENDPARAMETERS &parm, eDVBFrontendParametersSatellite &sat, int frontend_id);
int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *, int frontend_id);
private:
static eDVBVolumecontrol *instance;
eDVBVolumecontrol();
-
+#ifdef SWIG
+ ~eDVBVolumecontrol();
+#endif
int openMixer();
void closeMixer(int fd);
int state[MAX_SLOTS];
static eDVBCI_UI *instance;
std::string appName;
-protected:
+#ifdef SWIG
+ eDVBCI_UI();
+ ~eDVBCI_UI();
+#endif
public:
+#ifndef SWIG
eDVBCI_UI();
~eDVBCI_UI();
-
+#endif
static eDVBCI_UI *getInstance();
int getState(int slot);
FTC_FaceID getFaceID(const std::string &face);
FT_Error getGlyphBitmap(FTC_Image_Desc *font, FT_ULong glyph_index, FTC_SBit *sbit);
static fontRenderClass *instance;
+#else
+ fontRenderClass();
+ ~fontRenderClass();
#endif
public:
float getLineHeight(const gFont& font);
std::string AddFont(const std::string &filename, const std::string &name, int scale);
FT_Error FTC_Face_Requester(FTC_FaceID face_id, FT_Face* aface);
int getFont(ePtr<Font> &font, const std::string &face, int size, int tabwidth=-1);
-#endif
fontRenderClass();
~fontRenderClass();
+#endif
};
#ifndef SWIG
class eLCD
{
+#ifdef SWIG
+ eLCD(eSize size);
+ ~eLCD();
+#else
protected:
eSize res;
unsigned char *_buffer;
int lcdfd;
int _stride;
int locked;
+#endif
public:
int lock();
void unlock();
int islocked() { return locked; }
-
+#ifndef SWIG
eLCD(eSize size);
virtual ~eLCD();
-
__u8 *buffer() { return (__u8*)_buffer; }
int stride() { return _stride; }
eSize size() { return res; }
virtual void update()=0;
+#endif
};
class eDBoxLCD: public eLCD
{
static eDBoxLCD *instance;
unsigned char inverted;
+#ifdef SWIG
+ eDBoxLCD();
+ ~eDBoxLCD();
+#endif
public:
+#ifndef SWIG
+ eDBoxLCD();
+ ~eDBoxLCD();
+#endif
static eDBoxLCD *getInstance();
int eDBoxLCD::setLCDContrast(int contrast);
int eDBoxLCD::setLCDBrightness(int brightness);
void setInverted( unsigned char );
- eDBoxLCD();
- ~eDBoxLCD();
void update();
};
class eWindowStyleManager: public iObject
{
DECLARE_REF(eWindowStyleManager);
+#ifdef SWIG
+ eWindowStyleManager();
+ ~eWindowStyleManager();
+#endif
public:
+#ifndef SWIG
eWindowStyleManager();
~eWindowStyleManager();
+#endif
void getStyle(ePtr<eWindowStyle> &style);
void setStyle(eWindowStyle *style);
static int getInstance(ePtr<eWindowStyleManager> &mgr) { mgr = m_instance; if (!mgr) return -1; return 0; }
class iStaticServiceInformation: public iObject
{
+#ifdef SWIG
+ iStaticServiceInformation();
+ ~iStaticServiceInformation();
+#endif
public:
virtual SWIG_VOID(RESULT) getName(const eServiceReference &ref, std::string &SWIG_OUTPUT)=0;
// doesn't need to be implemented, should return -1 then.
virtual int getLength(const eServiceReference &ref);
- virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT, time_t start_time=0);
+ virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT, time_t start_time=-1);
// returns true when not implemented
virtual bool isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
class iServiceInformation: public iObject
{
+#ifdef SWIG
+ iServiceInformation();
+ ~iServiceInformation();
+#endif
public:
virtual SWIG_VOID(RESULT) getName(std::string &SWIG_OUTPUT)=0;
virtual SWIG_VOID(RESULT) getEvent(ePtr<eServiceEvent> &SWIG_OUTPUT, int nownext);
class iFrontendStatusInformation: public iObject
{
+#ifdef SWIG
+ iFrontendStatusInformation();
+ ~iFrontendStatusInformation();
+#endif
public:
enum {
bitErrorRate,
class iPauseableService: public iObject
{
+#ifdef SWIG
+ iPausableService();
+ ~iPausableService();
+#endif
public:
virtual RESULT pause()=0;
virtual RESULT unpause()=0;
class iSeekableService: public iObject
{
+#ifdef SWIG
+ iSeekableService();
+ ~iSeekableService();
+#endif
public:
virtual RESULT getLength(pts_t &SWIG_OUTPUT)=0;
virtual RESULT seekTo(pts_t to)=0;
struct iAudioTrackInfo
{
+#ifdef SWIG
+private:
+ iAudioTrackInfo();
+ ~iAudioTrackInfo();
+public:
+#endif
#ifndef SWIG
std::string m_description;
std::string m_language; /* iso639 */
class iAudioTrackSelection: public iObject
{
+#ifdef SWIG
+ iAudioTrackSelection();
+ ~iAudioTrackSelection();
+#endif
public:
virtual int getNumberOfTracks()=0;
virtual RESULT selectTrack(unsigned int i)=0;
class iSubserviceList: public iObject
{
+#ifdef SWIG
+ iSubserviceList();
+ ~iSubserviceList();
+#endif
public:
virtual int getNumberOfSubservices()=0;
virtual SWIG_VOID(RESULT) getSubservice(eServiceReference &SWIG_OUTPUT, unsigned int n)=0;
class iTimeshiftService: public iObject
{
+#ifdef SWIG
+ iTimeshiftService();
+ ~iTimeshiftService();
+#endif
public:
virtual RESULT startTimeshift()=0;
virtual RESULT stopTimeshift()=0;
class iPlayableService: public iObject
{
+#ifdef SWIG
+ iPlayableService();
+ ~iPlaybleService();
+#endif
friend class iServiceHandler;
public:
enum
class iRecordableService: public iObject
{
+#ifdef SWIG
+ iRecordableService();
+ ~iRecordableService();
+#endif
public:
virtual RESULT prepare(const char *filename)=0;
virtual RESULT start()=0;
class iMutableServiceList: public iObject
{
+#ifdef SWIG
+ iMutableServiceList();
+ ~iMutableServiceList();
+#endif
public:
/* flush changes */
virtual RESULT flushChanges()=0;
class iListableService: public iObject
{
+#ifdef SWIG
+ iListableService();
+ ~iListableService();
+#endif
public:
/* legacy interface: get a list */
virtual RESULT getContent(std::list<eServiceReference> &list)=0;
TEMPLATE_TYPEDEF(ePtr<iListableService>, iListableServicePtr);
+#ifndef SWIG
/* a helper class which can be used as argument to stl's sort(). */
class iListableServiceCompare
{
return m_list->compareLessEqual(a, b);
}
};
+#endif
class iServiceOfflineOperations: public iObject
{
+#ifdef SWIG
+ iServiceOfflineOperations();
+ ~iServiceOfflineOperations();
+#endif
public:
/* to delete a service, forever. */
virtual RESULT deleteFromDisk(int simulate=1)=0;
class iServiceHandler: public iObject
{
+#ifdef SWIG
+ iServiceHandler();
+ ~iServiceHandler();
+#endif
public:
virtual SWIG_VOID(RESULT) play(const eServiceReference &, ePtr<iPlayableService> &SWIG_OUTPUT)=0;
virtual SWIG_VOID(RESULT) record(const eServiceReference &, ePtr<iRecordableService> &SWIG_OUTPUT)=0;
private:
std::map<int,iServiceHandlerPtr> handler;
static eServiceCenter *instance;
+#ifdef SWIG
+ eServiceCenter();
+ ~eServiceCenter();
+#endif
public:
+#ifndef SWIG
eServiceCenter();
virtual ~eServiceCenter();
-
+#endif
// iServiceHandler
RESULT play(const eServiceReference &, iPlayableServicePtr &ptr);
RESULT record(const eServiceReference &, iRecordableServicePtr &ptr);