photosgallery/viewframework/views/zoomview/inc/mglxzoomeventhandlers.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Zoom Event Handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MGLXZOOMEVENTHANDLERS_H_
       
    20 #define MGLXZOOMEVENTHANDLERS_H_
       
    21 
       
    22 #include <alf/alftimedvalue.h> // for TAlfRealPoint
       
    23 #include <glxzoomview.hrh>
       
    24 class MGlxZoomEventHandlers
       
    25     {
       
    26 public: 
       
    27     /**
       
    28      * Handles the set view port
       
    29      */
       
    30     virtual void HandleViewPortParametersChanged(TPoint& aViewPortTopLeft ,
       
    31             TInt aTransitionTime ,
       
    32             TSize  *apViewPortDimension = NULL,
       
    33             TInt aPrimarySliderLevel = -1) = 0;  
       
    34 
       
    35     virtual void HandleShowUi(TBool aShow= EFalse) = 0;
       
    36     
       
    37     virtual void HandleZoomOutL(TInt aCommandId) = 0;
       
    38     
       
    39     virtual TBool HandlePointerEventsL(const TAlfEvent &aEvent)= 0;
       
    40     };
       
    41 #endif /* MGLXZOOMEVENTHANDLERS_H_ */