diff -r 8173571d354e -r 1fc85118c3ae landmarksui/app/inc/MLmkKeyProcessor.h --- a/landmarksui/app/inc/MLmkKeyProcessor.h Thu Aug 19 09:48:36 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,66 +0,0 @@ -/* -* Copyright (c) 2002 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: LandmarksUi Content File - -* Interface which allows subscribers to consume key event or pass the event -* to other view class. -* -*/ - - - - - - - -#ifndef MLmkKeyProcessor_H -#define MLmkKeyProcessor_H - -// INCLUDES -#include - -// FORWARD DECLARATIONS -class MAknTabObserver; - -// =========================================================================== -// MLmkKeyProcessor -// =========================================================================== - -/** -* An interface a CCoeControl class can implement to forward the keyevents -* before the actual control gets the key events. This is useful in -* situations where the control consumes keys which you need. -*/ -class MLmkKeyProcessor - { - public: - /** - * process the keyevent befor it reaches the control - * @param aKeyEvent the event fired - * @param aType the type of event - * @return ETrue if key event was consumed, otherwise EFalse - */ - virtual TBool ProcessKeyEventL( const TKeyEvent& aKeyEvent, - TEventCode aType ) = 0; - - /** - * returns the pointer to MAknTabObserver interface - * @return pointer to the MAknTabObserver interface - */ - virtual MAknTabObserver* TabObserver() = 0; - }; - - -#endif - -// End of File