real mute volume on lowest volume level .. but not show the mute symbol
[enigma2.git] / lib / dvb / dvbtime.h
index a0b570dda82d3b64ddcf4020ad167f247deb1bbd..c441965279ef577ac3cd32f823bfd272d04d1a61 100644 (file)
@@ -18,6 +18,13 @@ inline int fromBCD(int bcd)
        return ((bcd&0xF0)>>4)*10+(bcd&0xF);
 }
 
+inline int toBCD(int dec)
+{
+       if (dec >= 100)
+               return -1;
+       return int(dec/10)*0x10 + dec%10;
+}
+
 time_t parseDVBtime(__u8 t1, __u8 t2, __u8 t3, __u8 t4, __u8 t5);
 
 class TDT: public eGTable
@@ -60,6 +67,10 @@ class eDVBLocalTimeHandler: public Object
        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;