ES-DE/es-core/src/CECInput.h

31 lines
583 B
C
Raw Normal View History

2017-11-08 22:22:15 +00:00
#pragma once
#ifndef ES_CORE_CECINPUT_H
#define ES_CORE_CECINPUT_H
#include <string>
2017-11-08 22:22:15 +00:00
namespace CEC { class ICECAdapter; }
class CECInput
{
public:
static void init ();
static void deinit ();
static std::string getAlertTypeString(const unsigned int _type);
static std::string getOpCodeString (const unsigned int _opCode);
static std::string getKeyCodeString (const unsigned int _keyCode);
2017-11-08 22:22:15 +00:00
private:
CECInput();
~CECInput();
static CECInput* sInstance;
2017-11-08 22:22:15 +00:00
CEC::ICECAdapter* mlibCEC;
}; // CECInput
2017-11-08 22:22:15 +00:00
#endif // ES_CORE_CECINPUT_H