X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.h;h=567684fa7cf78e4bcd99edf95a1be9611f0783cb;hb=55c75e6e4bd3d1c44907b59768b891227bd8ab5a;hp=d1729aa2fefd696c9d20f5fa391d8d2e3da775ed;hpb=1b5cc4a2517ee8e6cebb44063ea03eb4128b4ab1;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.h b/src/lib/implementations/ANCommandHandler.h index d1729aa..567684f 100644 --- a/src/lib/implementations/ANCommandHandler.h +++ b/src/lib/implementations/ANCommandHandler.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -41,9 +41,10 @@ namespace CEC CANCommandHandler(CCECBusDevice *busDevice); virtual ~CANCommandHandler(void) {}; - virtual bool HandleCommand(const cec_command &command); + bool HandleCommand(const cec_command &command); protected: - virtual bool HandleVendorRemoteButtonDown(const cec_command &command); + bool HandleVendorRemoteButtonDown(const cec_command &command); + bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination); }; };