repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: set initiator and destination first in cec_command::push_back(). fixes 'tx'...
[deb_libcec.git]
/
src
/
lib
/
LibCEC.h
diff --git
a/src/lib/LibCEC.h
b/src/lib/LibCEC.h
index 013288e763153319d2e1ab8799ff79977dbefd65..2ad32dafb64eb76dafb23bbbcea30a8d7f773c7a 100644
(file)
--- a/
src/lib/LibCEC.h
+++ b/
src/lib/LibCEC.h
@@
-32,8
+32,7
@@
*/
#include <string>
*/
#include <string>
-#include "../../include/CECExports.h"
-#include "../../include/CECTypes.h"
+#include <cec.h>
#include "util/buffer.h"
namespace CEC
#include "util/buffer.h"
namespace CEC
@@
-64,7
+63,7
@@
namespace CEC
virtual bool GetNextKeypress(cec_keypress *key);
virtual bool GetNextCommand(cec_command *command);
virtual bool GetNextKeypress(cec_keypress *key);
virtual bool GetNextCommand(cec_command *command);
- virtual bool Transmit(const cec_
frame
&data, bool bWaitForAck = true);
+ virtual bool Transmit(const cec_
command
&data, bool bWaitForAck = true);
virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
virtual bool PowerOnDevices(cec_logical_address address = CECDEVICE_TV);
virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
virtual bool PowerOnDevices(cec_logical_address address = CECDEVICE_TV);
@@
-75,7
+74,7
@@
namespace CEC
virtual void AddLog(cec_log_level level, const std::string &strMessage);
virtual void AddKey(void);
virtual void AddLog(cec_log_level level, const std::string &strMessage);
virtual void AddKey(void);
- virtual void AddCommand(cec_
logical_address source, cec_logical_address destination, cec_opcode opcode, cec_frame *parameters
);
+ virtual void AddCommand(cec_
command &command
);
virtual void CheckKeypressTimeout(void);
virtual void SetCurrentButton(cec_user_control_code iButtonCode);
virtual void CheckKeypressTimeout(void);
virtual void SetCurrentButton(cec_user_control_code iButtonCode);