repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: keep the 'busy state' of the command handler in CCECBusDevice
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECBusDevice.h
diff --git
a/src/lib/devices/CECBusDevice.h
b/src/lib/devices/CECBusDevice.h
index 94810fbc8e5b8af874ce7cca898fd23798eecc9c..60b293a034b3430b2c596c2fe9520781b7efd251 100644
(file)
--- a/
src/lib/devices/CECBusDevice.h
+++ b/
src/lib/devices/CECBusDevice.h
@@
-109,6
+109,8
@@
namespace CEC
protected:
bool ReplaceHandler(bool bInitHandler = true);
protected:
bool ReplaceHandler(bool bInitHandler = true);
+ void MarkBusy(void);
+ void MarkReady(void);
bool RequestCecVersion(void);
bool RequestMenuLanguage(void);
bool RequestCecVersion(void);
bool RequestMenuLanguage(void);
@@
-139,6
+141,7
@@
namespace CEC
std::set<cec_opcode> m_unsupportedFeatures;
PLATFORM::CMutex m_mutex;
PLATFORM::CMutex m_handlerMutex;
std::set<cec_opcode> m_unsupportedFeatures;
PLATFORM::CMutex m_mutex;
PLATFORM::CMutex m_handlerMutex;
+ unsigned m_iHandlerUseCount;
bool m_bAwaitingReceiveFailed;
};
};
bool m_bAwaitingReceiveFailed;
};
};