repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: protect the SL state vars with a mutex
[deb_libcec.git]
/
src
/
lib
/
implementations
/
SLCommandHandler.h
diff --git
a/src/lib/implementations/SLCommandHandler.h
b/src/lib/implementations/SLCommandHandler.h
index fc4c5fddfd3cabcd6c6bc5c8ee682a85f011ca13..fd532668ab5ebac1e6d272760e53daf4e31fb4cc 100644
(file)
--- a/
src/lib/implementations/SLCommandHandler.h
+++ b/
src/lib/implementations/SLCommandHandler.h
@@
-67,10
+67,15
@@
namespace CEC
virtual bool HandleStandby(const cec_command &command);
virtual bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState)) { return true; }
virtual bool HandleStandby(const cec_command &command);
virtual bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState)) { return true; }
+ virtual void ResetSLState(void);
+ virtual bool SLInitialised(void);
+ virtual void SetSLInitialised(void);
+ virtual bool ActiveSourceSent(void);
+
bool m_bSLEnabled;
bool m_bSLEnabled;
- bool m_bPowerStateReset;
bool m_bActiveSourceSent;
PLATFORM::CTimeout m_resetPowerState;
bool m_bVendorIdSent;
bool m_bActiveSourceSent;
PLATFORM::CTimeout m_resetPowerState;
bool m_bVendorIdSent;
+ PLATFORM::CMutex m_SLMutex;
};
};
};
};