examples/SFExamples/RecipeEx/inc/SensorView.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 __SENSORVIEW_H__
00010 #define __SENSORVIEW_H__
00011 
00012 // Includes
00013 #include <aknview.h>
00014 #include "RecipeEx.hrh"
00015 
00016 // Constants
00017 const TUid KSensorViewId = {3}; 
00018 
00019 // Forward declarations
00020 class CLogContainer;
00021 class CSensorListener;
00022 
00029 class CSensorView : public CAknView
00030     {
00031 public: // Constructors and destructor
00032 
00034         static CSensorView* NewL();
00035 
00037         static CSensorView* NewLC();
00038         
00040         ~CSensorView(); 
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 
00071         CSensorListener* iSensorListener;       
00072 
00076         CLogContainer* iLogContainer;
00077 
00078     };
00079 
00080 #endif // __SENSORVIEW_H__
00081 
00082 // End of File

Generated by  doxygen 1.6.2