00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HELLOWORLDBASICAPPVIEW_H__
00017 #define __HELLOWORLDBASICAPPVIEW_H__
00018
00019
00020 #include <coecntrl.h>
00021
00022
00023 class CHelloWorldBasicAppView : public CCoeControl
00024 {
00025 public:
00026
00034 static CHelloWorldBasicAppView* NewL( const TRect& aRect );
00035
00044 static CHelloWorldBasicAppView* NewLC( const TRect& aRect );
00045
00050 virtual ~CHelloWorldBasicAppView();
00051
00057 TDes& GetText();
00058
00059 public:
00060
00068 void Draw( const TRect& aRect ) const;
00069
00074 virtual void SizeChanged();
00075
00076 private:
00077
00085 void ConstructL(const TRect& aRect);
00086
00091 CHelloWorldBasicAppView();
00092
00093 private:
00094
00098 const CFont* iFont;
00099
00103 TBuf<24> iText;
00104 };
00105
00106 #endif // __HELLOWORLDBASICAPPVIEW_H__
00107
00108
00109