examples/ForumNokia/ContactsModel/inc/ContactsModelAppUi.h

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 #ifndef CONTACTSMODELAPPUI_H
00006 #define CONTACTSMODELAPPUI_H
00007 
00008 // INCLUDES
00009 #include <eikapp.h>
00010 #include <eikdoc.h>
00011 #include <e32std.h>
00012 #include <coeccntx.h>
00013 #include <aknappui.h>
00014 
00015 // FORWARD DECLARATIONS
00016 class CContactsModelContainer;
00017 
00018 
00019 // CLASS DECLARATION
00020 
00027 class CContactsModelAppUi : public CAknAppUi
00028     {
00029     public: // // Constructors and destructor
00030 
00034         void ConstructL();
00035 
00039         ~CContactsModelAppUi();
00040 
00041     public: // New functions
00042 
00043     public: // Functions from base classes
00044 
00045     private:
00046         // From MEikMenuObserver
00047         void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
00048 
00049     private:
00054         void HandleCommandL(TInt aCommand);
00055 
00059                 void HandleModelChangeL();
00060 
00066         void HandleResourceChangeL(TInt aType);
00067 
00074         virtual TKeyResponse HandleKeyEventL(
00075             const TKeyEvent& aKeyEvent,TEventCode aType);
00076 
00089                 void ImportL(const TDesC& aFileName);
00090 
00103                 void ExportL(const TDesC& aFileName, TInt aItemIndex);
00104 
00105     private: //Data
00106         CContactsModelContainer* iAppContainer;
00107     };
00108 
00109 #endif
00110 
00111 // End of File

Generated by  doxygen 1.6.2