cec: fixed - mark a device as active source before transmitting the active source...
[deb_libcec.git] / src / lib / LibCEC.h
index 9bff00f28fd4dd5dde5ecdab64182bbcf30971f6..c8917906cf8222a71118c74455afb29ee56e1f89 100644 (file)
@@ -94,8 +94,10 @@ namespace CEC
       virtual uint8_t MuteAudio(bool bWait = true);
       virtual bool SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait = false);
       virtual bool SendKeyRelease(cec_logical_address iDestination, bool bWait = false);
-      virtual cec_osd_name GetOSDName(cec_logical_address iAddress);
+      virtual cec_osd_name GetDeviceOSDName(cec_logical_address iAddress);
       virtual bool EnablePhysicalAddressDetection(void);
+      virtual cec_logical_address GetActiveSource(void);
+      virtual bool IsActiveSource(cec_logical_address iAddress);
 
       const char *ToString(const cec_menu_state state);
       const char *ToString(const cec_version version);