examples/SDKExamples/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 and/or its subsidiary(-ies).
00010 *  All rights reserved.
00011 *  This component and the accompanying materials are made available
00012 *  under the terms of "Eclipse Public License v1.0"
00013 *  which accompanies this distribution, and is available
00014 *  at the URL "http://www.eclipse.org/legal/epl-v10.html".
00015 * ==============================================================================
00016 */
00017 
00018 #ifndef __HELLOWORLDBASICAPPVIEW_H__
00019 #define __HELLOWORLDBASICAPPVIEW_H__
00020 
00021 // INCLUDES
00022 #include <coecntrl.h>
00023 
00024 // CLASS DECLARATION
00025 class CHelloWorldBasicAppView : public CCoeControl
00026     {
00027     public: // New methods
00028 
00036         static CHelloWorldBasicAppView* NewL( const TRect& aRect );
00037 
00046         static CHelloWorldBasicAppView* NewLC( const TRect& aRect );
00047 
00052         virtual ~CHelloWorldBasicAppView();
00053 
00059         TDes& GetText();
00060 
00061     public:  // Functions from base classes
00062 
00070         void Draw( const TRect& aRect ) const;
00071 
00076         virtual void SizeChanged();
00077 
00078     private: // Constructors
00079 
00087         void ConstructL(const TRect& aRect);
00088 
00093         CHelloWorldBasicAppView();
00094 
00095     private:
00096 
00100         const CFont* iFont;
00101 
00105         TBuf<24> iText;
00106     };
00107 
00108 #endif // __HELLOWORLDBASICAPPVIEW_H__
00109 
00110 // End of File
00111 

Generated by  doxygen 1.6.2