commonuis/CommonDialogs/src/CAknFileSelectionEventHandler.h
branchRCL_3
changeset 55 aecbbf00d063
parent 15 08e69e956a8c
child 56 d48ab3b357f1
equal deleted inserted replaced
51:fcdfafb36fe7 55:aecbbf00d063
    23 #include <cstack.h>
    23 #include <cstack.h>
    24 #include <f32file.h>
    24 #include <f32file.h>
    25 
    25 
    26 #include "MAknCommonDialogsEventObserver.h"
    26 #include "MAknCommonDialogsEventObserver.h"
    27 #include "CAknCommonDialogsBase.h"
    27 #include "CAknCommonDialogsBase.h"
    28 #include "MAknCFDFileSystemObserver.h"
       
    29 
    28 
    30 // FORWARD DECLARATIONS
    29 // FORWARD DECLARATIONS
    31 class MAknFileSelectionObserver;
    30 class MAknFileSelectionObserver;
    32 class CAknFileSelectionModel;
    31 class CAknFileSelectionModel;
    33 class CAknCFDFileSystemEvent;
       
    34 class CAknCommonDialogsPopupList;
       
    35 
    32 
    36 // CLASS DEFINITION
    33 // CLASS DEFINITION
    37 /**
    34 /**
    38 *  A class that handles events reported from an UI class in file selection.
    35 *  A class that handles events reported from an UI class in file selection.
    39 *
    36 *
    40 *  @lib CommonDialogs.lib
    37 *  @lib CommonDialogs.lib
    41 *  @since 1.2
    38 *  @since 1.2
    42 */
    39 */
    43 NONSHARABLE_CLASS(CAknFileSelectionEventHandler) : public CBase, public MAknCommonDialogsEventObserver,
    40 NONSHARABLE_CLASS(CAknFileSelectionEventHandler) : public CBase, public MAknCommonDialogsEventObserver
    44         public MAknCFDFileSystemObserver
       
    45     {
    41     {
    46     public:     // Constructors and destructors
    42     public:     // Constructors and destructors
    47 
    43 
    48         /**
    44         /**
    49         * Static constructor.
    45         * Static constructor.
   109             TEvent aEvent,
   105             TEvent aEvent,
   110             TInt& aFocusedItemIndex,
   106             TInt& aFocusedItemIndex,
   111             TInt& aTopItemIndex,
   107             TInt& aTopItemIndex,
   112             CEikButtonGroupContainer* aContainer );
   108             CEikButtonGroupContainer* aContainer );
   113 
   109 
   114         void StartFileSystemNotifierL(CAknCommonDialogsPopupList* aPopupList);
       
   115         void StopFileSystemNotifier();
       
   116         virtual void NotifyFileSystemChangedL();
       
   117     private:    // Enumerations
   110     private:    // Enumerations
   118 
   111 
   119         /**
   112         /**
   120         * Enumerations for softkey statuses.
   113         * Enumerations for softkey statuses.
   121         * If softkey status has changed the text must be redrawn.
   114         * If softkey status has changed the text must be redrawn.
   203         // Ref: Softkey text
   196         // Ref: Softkey text
   204         const HBufC*& iRightSoftkeyRootFolder;
   197         const HBufC*& iRightSoftkeyRootFolder;
   205 
   198 
   206         // Ref: Softkey text
   199         // Ref: Softkey text
   207         const HBufC*& iRightSoftkeySubfolder;
   200         const HBufC*& iRightSoftkeySubfolder;
   208         CAknCFDFileSystemEvent* iFSObserver;
       
   209         CAknCommonDialogsPopupList* iPopupList;
       
   210     };
   201     };
   211 
   202 
   212 
   203 
   213 // Constructor for TFocusItem object
   204 // Constructor for TFocusItem object
   214 
   205