examples/SFExamples/RecipeEx/inc/DeviceCapsView.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 __DEVICECAPSVIEW_H__
00010 #define __DEVICECAPSVIEW_H__
00011 
00012 // Includes
00013 #include <aknview.h>
00014 #include "RecipeEx.hrh"
00015 
00016 // Constants
00017 const TUid KDeviceCapsViewId = {2};     
00018 
00019 // Forward declarations
00020 class CLogContainer;
00021 class CDeviceCapabilitiesScan;
00022 
00030 class CDeviceCapsView : public CAknView
00031     {
00032 public: // Constructors and destructor
00033 
00035         static CDeviceCapsView* NewL();
00036 
00038         static CDeviceCapsView* NewLC();
00039         
00041         ~CDeviceCapsView();     
00042 
00043 public: // Functions from base classes
00044         
00046         TUid Id() const;
00047 
00049         void HandleCommandL(TInt aCommand);
00050 
00051 private: // More construction
00052         
00054         void ConstructL();
00055         
00056 private:
00057 
00061         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
00062                 const TDesC8& aCustomMessage);
00063 
00067         void DoDeactivate();
00068 
00069 private: // Data
00070 
00072         CDeviceCapabilitiesScan* iDeviceCapabilitiesScan;       
00073 
00077         CLogContainer* iLogContainer;
00078 
00079     };
00080 
00081 #endif // __DEVICECAPSVIEW_H__
00082 
00083 // End of File

Generated by  doxygen 1.6.2