williamr@2: /* williamr@2: * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * Interface class for navi decorator. This observer is used williamr@2: * by observers to get right or left arrow events of navipane williamr@2: * PointerEvents for arrow decorators are handled in Navigation williamr@2: * decorator class. williamr@2: * williamr@2: * williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #ifndef AKNNAVIDECORATOROBSERVER_H williamr@2: #define AKNNAVIDECORATOROBSERVER_H williamr@2: williamr@2: #include williamr@2: williamr@2: class MAknNaviDecoratorObserver williamr@2: { williamr@2: public: williamr@2: enum TAknNaviDecoratorEvents williamr@2: { williamr@2: /** Pointer tap event id for right arrow */ williamr@2: EAknNaviDecoratorEventRightTabArrow, williamr@2: /** Pointer tap event id for left arrow */ williamr@2: EAknNaviDecoratorEventLeftTabArrow, williamr@2: /** Pointer tap event id for navilabel */ williamr@2: EAknNaviDecoratorEventNaviLabel williamr@2: }; williamr@2: williamr@2: public: williamr@2: williamr@2: /** williamr@2: * Method for handling events in observed classes. williamr@2: * williamr@2: * @param aEventID Id of the event. williamr@2: * williamr@2: */ williamr@2: virtual void HandleNaviDecoratorEventL( TInt aEventID ) = 0; williamr@2: }; williamr@2: williamr@2: #endif // AKNNAVIDECORATOROBSERVER_H