163 files changed, 13 insertions, 62934 deletions
diff --git a/tvapi/libtv/tvutils/serial_operate.h b/tvapi/libtv/tvutils/serial_operate.h deleted file mode 100644 index c1262aa..0000000 --- a/tvapi/libtv/tvutils/serial_operate.h +++ b/dev/null @@ -1,33 +0,0 @@ -#ifndef __SERIAL_OPERATE_H__ -#define __SERIAL_OPERATE_H__ -#include "tvutils/CThread.h" - -class CTv2d4GHeadSetDetect: public CThread { - -public: - CTv2d4GHeadSetDetect(); - ~CTv2d4GHeadSetDetect(); - - int startDetect(); - - class IHeadSetObserver { - public: - IHeadSetObserver() {}; - virtual ~IHeadSetObserver() {}; - virtual void onHeadSetDetect(int state __unused, int para __unused) { - }; - virtual void onThermalDetect(int state __unused) { - }; - }; - - void setObserver ( IHeadSetObserver *pOb ) { - mpObserver = pOb; - }; - -private: - bool threadLoop(); - IHeadSetObserver *mpObserver; - -}; - -#endif//__SERIAL_OPERATE_H__ |