examples/SFExamples/RecipeEx/inc/MainView.h

00001 // Symbian Foundation Example Code
00002 // 
00003 // This software is in the public domain. No copyright is claimed, and you 
00004 // may use it for any purpose without license from the Symbian Foundation.
00005 // No warranty for any purpose is expressed or implied by the authors or
00006 // the Symbian Foundation. 
00007 
00008 
00009 #ifndef __MAINVIEW_H__
00010 #define __MAINVIEW_H__
00011 
00012 // Includes
00013 #include <aknview.h>
00014 #include "RecipeEx.hrh"
00015 
00016 // Constants
00017 const TUid KMainViewId = {1};   
00018 
00019 // Forward declarations
00020 class CMainViewContainer;
00021 
00029 class CMainView : public CAknView
00030     {
00031 public: // Constructors and destructor
00032 
00034         static CMainView* NewL();
00035 
00037         static CMainView* NewLC();
00038         
00040         ~CMainView();   
00041 
00042 public: // Functions from base classes
00043         
00045         TUid Id() const;
00046 
00048         void HandleCommandL(TInt aCommand);
00049 
00050 private: // More construction
00051         
00053         void ConstructL();
00054         
00055 private:
00056 
00060         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
00061                 const TDesC8& aCustomMessage);
00062 
00066         void DoDeactivate();
00067 
00068 private: // Data
00069 
00073         CMainViewContainer* iContainer;
00074 
00075     };
00076 
00077 #endif // __MAINVIEW_H__
00078 
00079 // End of File

Generated by  doxygen 1.6.2