#include <dvbsi++/cable_delivery_system_descriptor.h>
#include <dvbsi++/terrestrial_delivery_system_descriptor.h>
-void eDVBDiseqcCommand::setData(const char *str)
+void eDVBDiseqcCommand::setCommandString(const char *str)
{
+ if (!str)
+ return;
len = strlen(str);
if (len > MAX_DISEQC_LENGTH)
len = MAX_DISEQC_LENGTH;
class eDVBDiseqcCommand
{
+#ifndef SWIG
public:
+#endif
int len;
-#ifndef SWIG
__u8 data[MAX_DISEQC_LENGTH];
#if HAVE_DVB_API_VERSION < 3
int tone;
int voltage;
#endif
-#endif //SWIG
- void setData(const char *str);
+#ifdef SWIG
+public:
+#endif
+ void setCommandString(const char *str);
};
class iDVBSatelliteEquipmentControl;