examples/S60CppExamples/helloworldbasic/inc/helloworldbasicappview.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : helloworldbasicappview.h
00004 *  Part of     : Helloworldbasic
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2005-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 __HELLOWORLDBASICAPPVIEW_H__
00017 #define __HELLOWORLDBASICAPPVIEW_H__
00018 
00019 // INCLUDES
00020 #include <coecntrl.h>
00021 
00022 // CLASS DECLARATION
00023 class CHelloWorldBasicAppView : public CCoeControl
00024     {
00025     public: // New methods
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:  // Functions from base classes
00060 
00068         void Draw( const TRect& aRect ) const;
00069 
00074         virtual void SizeChanged();
00075 
00076     private: // Constructors
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 // End of File
00109 

Generated by  doxygen 1.6.2