diff -r 000000000000 -r 5f000ab63145 phoneapp/phoneuicontrol/inc/mphonemenuandcbaevents.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneapp/phoneuicontrol/inc/mphonemenuandcbaevents.h Mon Jan 18 20:18:27 2010 +0200 @@ -0,0 +1,61 @@ +/* +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* All possible menu and CBA events. +* +*/ + + +#ifndef MPHONEMENUANDCBAEVENTS_H +#define MPHONEMENUANDCBAEVENTS_H + +// INCLUDES +#include + +// CLASS DECLARATION + +/** +* All possible menu and CBA events +*/ +class MPhoneMenuAndCbaEvents + { + + public: + + /** + * Destructor + */ + virtual ~MPhoneMenuAndCbaEvents(){}; + + /** + * From CAknAppUi, handles commands. + * @param aCommand It is the code of the command to be handled. + * @returns boolean value was the command handled by the state + * (ETrue) or not (EFalse) + */ + virtual TBool HandleCommandL( TInt aCommand ) = 0; + + /** + * Process command. + * @param aCommand It is the code of the command to be handled. + * @returns boolean value was the command handled by the state + * (ETrue) or not (EFalse) + */ + virtual TBool ProcessCommandL( TInt aCommand ) = 0; + + }; + +#endif // MPHONEMENUANDCBAEVENTS_H + +// End of File