cec: add SetPhysicalAddress()/cec_set_physical_address() to the interface, so the...
[deb_libcec.git] / src / lib / LibCEC.h
index a700034ff47331768c28af61008f1d3a12c119c2..2f80720a2ec4970eae1923fcf15e7578fdc688bd 100644 (file)
@@ -32,8 +32,7 @@
  */
 
 #include <string>
-#include <libcec/CECExports.h>
-#include <libcec/CECTypes.h>
+#include <cec.h>
 #include "util/buffer.h"
 
 namespace CEC
@@ -65,7 +64,8 @@ namespace CEC
       virtual bool GetNextCommand(cec_command *command);
 
       virtual bool Transmit(const cec_command &data, bool bWaitForAck = true);
-      virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
+      virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress = CECDEVICE_PLAYBACKDEVICE1);
+      virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS);
 
       virtual bool PowerOnDevices(cec_logical_address address = CECDEVICE_TV);
       virtual bool StandbyDevices(cec_logical_address address = CECDEVICE_BROADCAST);