repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
573f80c
)
HandleVendorRemoteButtonUp -> HandleUserControlRelease for all vendors
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 21 Jun 2013 13:27:05 +0000
(15:27 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 21 Jun 2013 14:05:08 +0000
(16:05 +0200)
src/lib/implementations/ANCommandHandler.cpp
patch
|
blob
|
blame
|
history
src/lib/implementations/ANCommandHandler.h
patch
|
blob
|
blame
|
history
src/lib/implementations/CECCommandHandler.h
patch
|
blob
|
blame
|
history
src/lib/implementations/PHCommandHandler.h
patch
|
blob
|
blame
|
history
src/lib/implementations/SLCommandHandler.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/implementations/ANCommandHandler.cpp
b/src/lib/implementations/ANCommandHandler.cpp
index 115fa88709b261fd0f68351532fabe054a9cf33e..7e0e9b9062eb977d4278c68613e98476f9acdc7a 100644
(file)
--- a/
src/lib/implementations/ANCommandHandler.cpp
+++ b/
src/lib/implementations/ANCommandHandler.cpp
@@
-76,11
+76,6
@@
int CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
return COMMAND_HANDLED;
}
return COMMAND_HANDLED;
}
-int CANCommandHandler::HandleVendorRemoteButtonUp(const cec_command &command)
-{
- return HandleUserControlRelease(command);
-}
-
bool CANCommandHandler::PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination)
{
if (iDestination == CECDEVICE_AUDIOSYSTEM)
bool CANCommandHandler::PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination)
{
if (iDestination == CECDEVICE_AUDIOSYSTEM)
diff --git
a/src/lib/implementations/ANCommandHandler.h
b/src/lib/implementations/ANCommandHandler.h
index ab0184a5b85968cba7d06b2ce0a6343017566fc1..595170ac887101088f5627b9db9f8c2a300bfba3 100644
(file)
--- a/
src/lib/implementations/ANCommandHandler.h
+++ b/
src/lib/implementations/ANCommandHandler.h
@@
-46,7
+46,6
@@
namespace CEC
virtual ~CANCommandHandler(void) {};
int HandleVendorRemoteButtonDown(const cec_command &command);
virtual ~CANCommandHandler(void) {};
int HandleVendorRemoteButtonDown(const cec_command &command);
- int HandleVendorRemoteButtonUp(const cec_command &command);
int HandleDeviceVendorCommandWithId(const cec_command &command);
protected:
int HandleDeviceVendorCommandWithId(const cec_command &command);
protected:
diff --git
a/src/lib/implementations/CECCommandHandler.h
b/src/lib/implementations/CECCommandHandler.h
index 9902a08bc7ec9c9fd6ec9e5bbf39911e73d35ad5..5ad5ab01d98c78e57fd41e63c020cf50c4c4ee46 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.h
+++ b/
src/lib/implementations/CECCommandHandler.h
@@
-138,7
+138,7
@@
namespace CEC
virtual int HandleUserControlRelease(const cec_command &command);
virtual int HandleVendorCommand(const cec_command &command);
virtual int HandleVendorRemoteButtonDown(const cec_command& command);
virtual int HandleUserControlRelease(const cec_command &command);
virtual int HandleVendorCommand(const cec_command &command);
virtual int HandleVendorRemoteButtonDown(const cec_command& command);
- virtual int HandleVendorRemoteButtonUp(const cec_command
& UNUSED(command)) { return COMMAND_HANDLED
; }
+ virtual int HandleVendorRemoteButtonUp(const cec_command
& command) { return HandleUserControlRelease(command)
; }
virtual void UnhandledCommand(const cec_command &command, const cec_abort_reason reason);
virtual void RequestEmailFromCustomer(const cec_command& command);
virtual void UnhandledCommand(const cec_command &command, const cec_abort_reason reason);
virtual void RequestEmailFromCustomer(const cec_command& command);
diff --git
a/src/lib/implementations/PHCommandHandler.h
b/src/lib/implementations/PHCommandHandler.h
index f6f3fcc8fcbb2623716bafc1f75fdd02a5f4904f..5e300479b9fbf8ba4dd54654dcd71171dd1d527c 100644
(file)
--- a/
src/lib/implementations/PHCommandHandler.h
+++ b/
src/lib/implementations/PHCommandHandler.h
@@
-71,7
+71,6
@@
namespace CEC
virtual int HandleUserControlRelease(const cec_command& command);
virtual bool TransmitVendorID(const cec_logical_address iInitiator, const cec_logical_address iDestination, uint64_t iVendorId, bool bIsReply);
virtual int HandleDeviceVendorId(const cec_command& command);
virtual int HandleUserControlRelease(const cec_command& command);
virtual bool TransmitVendorID(const cec_logical_address iInitiator, const cec_logical_address iDestination, uint64_t iVendorId, bool bIsReply);
virtual int HandleDeviceVendorId(const cec_command& command);
- virtual int HandleVendorRemoteButtonUp(const cec_command & command) { return HandleUserControlRelease(command); }
uint8_t m_iLastKeyCode;
CImageViewOnCheck* m_imageViewOnCheck;
};
uint8_t m_iLastKeyCode;
CImageViewOnCheck* m_imageViewOnCheck;
};
diff --git
a/src/lib/implementations/SLCommandHandler.h
b/src/lib/implementations/SLCommandHandler.h
index ac8cb5c66fa515bee3a89f151c4b680abf5fe4ed..9ce444b7acc385f877b6de862e6b172a5d445dcf 100644
(file)
--- a/
src/lib/implementations/SLCommandHandler.h
+++ b/
src/lib/implementations/SLCommandHandler.h
@@
-68,7
+68,6
@@
namespace CEC
int HandleStandby(const cec_command &command);
bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState), bool UNUSED(bIsReply)) { return true; }
bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
int HandleStandby(const cec_command &command);
bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState), bool UNUSED(bIsReply)) { return true; }
bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
- int HandleVendorRemoteButtonUp(const cec_command& command) { return HandleUserControlRelease(command); }
void ResetSLState(void);
bool SLInitialised(void);
void ResetSLState(void);
bool SLInitialised(void);