repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: added the firmware version to libcec_configuration (read-only). bumped server...
[deb_libcec.git]
/
src
/
lib
/
LibCEC.h
diff --git
a/src/lib/LibCEC.h
b/src/lib/LibCEC.h
index e2e815392d1bef72bd31b5ef4998b3cc35a1a722..b8c8667d67ab9bd8b50d4b374d4e8243af53e823 100644
(file)
--- a/
src/lib/LibCEC.h
+++ b/
src/lib/LibCEC.h
@@
-121,6
+121,10
@@
namespace CEC
const char *ToString(const cec_vendor_id vendor);
const char *ToString(const cec_client_version version);
const char *ToString(const cec_server_version version);
const char *ToString(const cec_vendor_id vendor);
const char *ToString(const cec_client_version version);
const char *ToString(const cec_server_version version);
+
+ static cec_device_type GetType(cec_logical_address address);
+ static uint16_t GetMaskForType(cec_logical_address address);
+ static uint16_t GetMaskForType(cec_device_type type);
//@}
static void AddLog(const cec_log_level level, const char *strFormat, ...);
//@}
static void AddLog(const cec_log_level level, const char *strFormat, ...);
@@
-134,11
+138,11
@@
namespace CEC
static CLibCEC *GetInstance(void);
static void SetInstance(CLibCEC *instance);
static CLibCEC *GetInstance(void);
static void SetInstance(CLibCEC *instance);
+ CCECProcessor * m_cec;
protected:
int64_t m_iStartTime;
cec_user_control_code m_iCurrentButton;
int64_t m_buttontime;
protected:
int64_t m_iStartTime;
cec_user_control_code m_iCurrentButton;
int64_t m_buttontime;
- CCECProcessor * m_cec;
PLATFORM::SyncedBuffer<cec_log_message> m_logBuffer;
PLATFORM::SyncedBuffer<cec_keypress> m_keyBuffer;
PLATFORM::SyncedBuffer<cec_command> m_commandBuffer;
PLATFORM::SyncedBuffer<cec_log_message> m_logBuffer;
PLATFORM::SyncedBuffer<cec_keypress> m_keyBuffer;
PLATFORM::SyncedBuffer<cec_command> m_commandBuffer;