1 #pragma once 2 #ifndef ES_CORE_CECINPUT_H 3 #define ES_CORE_CECINPUT_H 4 5 #include <string> 6 7 namespace CEC { class ICECAdapter; } 8 9 class CECInput 10 { 11 public: 12 13 static void init (); 14 static void deinit (); 15 static std::string getAlertTypeString(const unsigned int _type); 16 static std::string getOpCodeString (const unsigned int _opCode); 17 static std::string getKeyCodeString (const unsigned int _keyCode); 18 19 private: 20 21 CECInput(); 22 ~CECInput(); 23 24 static CECInput* sInstance; 25 26 CEC::ICECAdapter* mlibCEC; 27 28 }; // CECInput 29 30 #endif // ES_CORE_CECINPUT_H 31