don't get caught in a loop in CVLCommandHandler when the source switch was not allowe...
[deb_libcec.git] / src / lib / implementations / VLCommandHandler.h
index 3ad80b49150b53749bc61d0f306f972631a5a00c..ae6b9f60d63a291b3d34c5449ed87ffd91e10c67 100644 (file)
@@ -55,6 +55,7 @@ namespace CEC
     bool PowerUpEventReceived(void);
     bool SupportsDeviceType(const cec_device_type type) const { return type != CEC_DEVICE_TYPE_RECORDING_DEVICE; };
     cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type == CEC_DEVICE_TYPE_RECORDING_DEVICE ? CEC_DEVICE_TYPE_PLAYBACK_DEVICE : type; }
+    bool TransmitRequestPowerStatus(const cec_logical_address iInitiator, const cec_logical_address iDestination, bool bWaitForResponse = true);
 
     bool SourceSwitchAllowed(void);
 
@@ -66,5 +67,6 @@ namespace CEC
     PLATFORM::CMutex m_mutex;
     uint64_t         m_iPowerUpEventReceived;
     bool             m_bCapabilitiesSent;
+    bool             m_bPowerStatusRequested;
   };
 };