repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: get the vendor id of the TV before allocating logical addresses, so we can deter...
[deb_libcec.git]
/
src
/
lib
/
implementations
/
CECCommandHandler.h
diff --git
a/src/lib/implementations/CECCommandHandler.h
b/src/lib/implementations/CECCommandHandler.h
index 1bced84ff8fc469b17a004aa70891233913a1f78..3a9bd6f1a3370bcc367bb611183cc2d6f9f691b2 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.h
+++ b/
src/lib/implementations/CECCommandHandler.h
@@
-162,6
+162,10
@@
namespace CEC
virtual void SignalOpcode(cec_opcode opcode);
virtual void SignalOpcode(cec_opcode opcode);
+ virtual bool ActiveSourcePending(void);
+ virtual bool SupportsDeviceType(const cec_device_type UNUSED(type)) const { return true; };
+ cec_device_type GetReplacementDeviceType(const cec_device_type type) const { return type; }
+
protected:
virtual bool HandleActiveSource(const cec_command &command);
virtual bool HandleDeckControl(const cec_command &command);
protected:
virtual bool HandleActiveSource(const cec_command &command);
virtual bool HandleDeckControl(const cec_command &command);
@@
-218,5
+222,7
@@
namespace CEC
bool m_bOPTSendDeckStatusUpdateOnActiveSource;
cec_vendor_id m_vendorId;
CWaitForResponse *m_waitForResponse;
bool m_bOPTSendDeckStatusUpdateOnActiveSource;
cec_vendor_id m_vendorId;
CWaitForResponse *m_waitForResponse;
+ bool m_bActiveSourcePending;
+ PLATFORM::CMutex m_mutex;
};
};
};
};