examples/SFExamples/RecipeEx/inc/MobilityView.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 __MOBILITYVIEW_H__
00010 #define __MOBILITYVIEW_H__
00011 
00012 // Includes
00013 #include <aknview.h>
00014 #include "RecipeEx.hrh"
00015 
00016 // Constants
00017 const TUid KMobilityViewId = {4};       
00018 
00019 // Forward declarations
00020 class CLogContainer;
00021 class CMobilityEngine;
00022 
00030 class CMobilityView : public CAknView
00031     {
00032 public: // Constructors and destructor
00033 
00035         static CMobilityView* NewL();
00036 
00038         static CMobilityView* NewLC();
00039         
00041         ~CMobilityView();       
00042 
00043 public: // Functions from base classes
00044         
00046         TUid Id() const;
00047 
00049         void HandleCommandL(TInt aCommand);
00050 
00054         void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
00055 
00056 private: // More construction
00057         
00059         void ConstructL();
00060         
00061 private:
00062 
00066         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
00067                 const TDesC8& aCustomMessage);
00068 
00072         void DoDeactivate();
00073 
00074 private: // Data
00075 
00079         CMobilityEngine* iMobilityEngine;
00080 
00084         CLogContainer* iLogContainer;
00085     };
00086 
00087 #endif // __MOBILITYVIEW_H__
00088 
00089 // End of File

Generated by  doxygen 1.6.2