S60 3rd Edition SDK FP2 for Symbian OS
CommonDialogsEx

CommonDialogsExAppUi.h

00001 /*
00002 * ============================================================================
00003 *  Name        : commondialogsexappui.cpp
00004 *  Part of     : CommonDialogsEx
00005 *  Description : Declares CommonDialogsEx appui.
00006 *  Version     : 
00007 *
00008 *  Copyright (c) 2006 Nokia Corporation.
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia Corporation.
00012 * ==============================================================================
00013 */
00014 
00015 #ifndef CCOMMONDIALOGSEXAPPUI_H
00016 #define CCOMMONDIALOGSEXAPPUI_H
00017 
00018 // INCLUDES
00019 #include <aknappui.h>
00020 #include <CAknMemorySelectionDialog.h>
00021 
00022 // FORWARD DECLARATIONS
00023 class CCommonDialogsExContainer;
00024 
00025 // CONSTANTS
00026 
00027 // CLASS DECLARATION
00028 
00029 /**
00030 * Application UI class.
00031 * Provides support for the following features:
00032 * - EIKON control architecture
00033 * 
00034 */
00035 class CCommonDialogsExAppUi : public CAknAppUi
00036     {
00037     public: // // Constructors and destructor
00038 
00039         /**
00040         * EPOC default constructor.
00041         */      
00042         void ConstructL();
00043 
00044         /**
00045         * Destructor.
00046         */      
00047         ~CCommonDialogsExAppUi();
00048         
00049     private:
00050         // From MEikMenuObserver
00051         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
00052 
00053     private:
00054         /**
00055         * From CEikAppUi, takes care of command handling.
00056         * @param aCommand command to be handled
00057         */
00058         void HandleCommandL(TInt aCommand);
00059 
00060         /**
00061         * From CEikAppUi, handles key events.
00062         * @param aKeyEvent Event to handled.
00063         * @param aType Type of the key event. 
00064         * @return Reponse code (EKeyWasConsumed, EKeyWasNotConsumed). 
00065         */
00066         virtual TKeyResponse HandleKeyEventL(
00067             const TKeyEvent& aKeyEvent,TEventCode aType);
00068         
00069     private: //Data
00070         // This is NOT iAppView since this is REALLY a container ptr.
00071         CCommonDialogsExContainer* iAppContainer; 
00072 
00073                 CAknMemorySelectionDialog::TMemory iMemory;
00074                      
00075         TDriveNumber iDrive;
00076     };
00077 
00078 #endif
00079 
00080 // End of File

© Nokia 2007

Back to top