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

34 lines
615 B
C++

//
// CECInput.h
//
// CEC (Consumer Electronics Control).
//
#pragma once
#ifndef ES_CORE_CECINPUT_H
#define ES_CORE_CECINPUT_H
#include <string>
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);
private:
CECInput();
~CECInput();
static CECInput* sInstance;
CEC::ICECAdapter* mlibCEC;
};
#endif // ES_CORE_CECINPUT_H