|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : helpexampleappview.h 00004 * Part of : Help example 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef __HELPEXAMPLE_APPVIEW_H__ 00017 #define __HELPEXAMPLE_APPVIEW_H__ 00018 00019 // INCLUDES 00020 #include <coecntrl.h> 00021 00022 /** 00023 * CHelpExampleAppView 00024 * An instance of the Application View object for the HelpExample 00025 * example application 00026 */ 00027 class CHelpExampleAppView : public CCoeControl 00028 { 00029 public: // Constructors and Destructor. 00030 00031 /** 00032 * NewL() 00033 * Create a CHelpExampleAppView object, which will draw 00034 * itself to aRect 00035 * @param aRect The rectangle this view will be drawn to 00036 * @return A pointer to the created instance of CHelpExampleAppView 00037 */ 00038 static CHelpExampleAppView* NewL( const TRect& aRect ); 00039 00040 /** 00041 * NewLC() 00042 * Create a CHelpExampleAppView object, which will draw 00043 * itself to aRect 00044 * @param aRect The rectangle this view will be drawn to 00045 * @return A pointer to the created instance of CHelpExampleAppView 00046 */ 00047 static CHelpExampleAppView* NewLC( const TRect& aRect ); 00048 00049 00050 /** 00051 * ~CHelpExampleAppView() 00052 * Destroy the object 00053 */ 00054 virtual ~CHelpExampleAppView(); 00055 00056 00057 public: // from CCoeControl 00058 00059 /** 00060 * Draw() 00061 * Draw this CHelpExampleAppView to the screen 00062 * @param aRect The rectangle of this view that needs updating 00063 */ 00064 void Draw( const TRect& aRect ) const; 00065 00066 00067 private: // Constructors. 00068 00069 /** 00070 * ConstructL() 00071 * Perform the second phase construction of a CHelpExampleAppView object 00072 * @param aRect The rectangle this view will be drawn to 00073 */ 00074 void ConstructL( const TRect& aRect ); 00075 00076 /** 00077 * CHelpExampleAppView() 00078 * Perform the first phase of two phase construction 00079 */ 00080 CHelpExampleAppView(); 00081 }; 00082 00083 00084 #endif // __HELPEXAMPLE_APPVIEW_H__ 00085 00086 // End of File
|
© Nokia 2009 |