filemanager/View/inc/MFileManagerFolderNaviObserver.h
branchRCL_3
changeset 20 491b3ed49290
parent 19 95243422089a
child 21 65326cf895ed
equal deleted inserted replaced
19:95243422089a 20:491b3ed49290
     1 /*
       
     2 * Copyright (c) 2006 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:  Observer for folder navigation events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_FILEMANAGERFOLDERNAVIOBSERVER_H
       
    20 #define M_FILEMANAGERFOLDERNAVIOBSERVER_H
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29  *  This class observes folder navigation notifications
       
    30  *
       
    31  *  @since S60 3.1
       
    32  */
       
    33 class MFileManagerFolderNaviObserver
       
    34     {
       
    35 
       
    36 public:
       
    37     // Navigation event types
       
    38     enum TNaviEvent
       
    39         {
       
    40         ENaviTapDown = 0,
       
    41         ENaviTapUp,
       
    42         ENaviLongTap
       
    43         };
       
    44 
       
    45     /**
       
    46      * Handles folder navigation notification
       
    47      *
       
    48      * @since S60 3.1
       
    49      * @param aEvent Navigation event type
       
    50      * @param aValue Navigation event related value
       
    51      */
       
    52     virtual void HandleFolderNaviEventL(
       
    53         TNaviEvent aEvent, TInt aValue ) = 0;
       
    54 
       
    55     };
       
    56 
       
    57 #endif // M_FILEMANAGERFOLDERNAVIOBSERVER_H   
       
    58             
       
    59 // End of File