|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : datamobilityappoutputview.h 00004 * Part of : datamobility 00005 * Description : Declares the output view class. 00006 * 00007 * Copyright (c) 2007 Nokia Corporation. 00008 * This material, including documentation and any related 00009 * computer programs, is protected by copyright controlled by 00010 * Nokia Corporation. 00011 * ============================================================================ 00012 */ 00013 00014 #ifndef DATAMOBILITYAPPOUTPUTVIEW_H 00015 #define DATAMOBILITYAPPOUTPUTVIEW_H 00016 00017 // INCLUDES 00018 #include <aknview.h> 00019 #include <aknnavide.h> 00020 00021 // FORWARD DECLARATIONS 00022 class CDataMobilityAppOutputContainer; 00023 00024 // CLASS DECLARATION 00025 00026 /** 00027 * CDataMobilityAppOutputView view class. 00028 * 00029 */ 00030 class CDataMobilityAppOutputView : public CAknView 00031 { 00032 public: // Constructors and destructor 00033 00034 /** 00035 * NewL is first phase of two-phased constructor. 00036 */ 00037 static CDataMobilityAppOutputView* NewL(); 00038 00039 /** 00040 * Destructor. 00041 */ 00042 ~CDataMobilityAppOutputView(); 00043 00044 public: // Functions from base classes 00045 00046 /** 00047 * Returns view´s id. 00048 * @return View id. 00049 */ 00050 TUid Id() const; 00051 00052 /** 00053 * Handles a command. 00054 * @param aCommand A command ID. 00055 */ 00056 void HandleCommandL( TInt aCommand ); 00057 00058 private: 00059 00060 /** 00061 * Symbian OS default constructor. 00062 */ 00063 void ConstructL(); 00064 00065 /** 00066 * Initializes view when activated. 00067 * @param aPrevViewId Id of the previous view (not used). 00068 * @param aCustomMessageId Custom message id. 00069 * @param aCustomMessage Custom message (not used). 00070 */ 00071 void DoActivateL( const TVwsViewId& aPrevViewId, 00072 TUid aCustomMessageId, 00073 const TDesC8& aCustomMessage ); 00074 00075 /** 00076 * Deactivates view. 00077 */ 00078 void DoDeactivate(); 00079 00080 private: // Data 00081 00082 CAknNavigationDecorator* iNaviDecorator; 00083 CDataMobilityAppOutputContainer* iContainer; 00084 }; 00085 00086 #endif // DATAMOBILITYAPPOUTPUTVIEW_H 00087 00088 // End of File
|
© Nokia 2009 |