examples/SFExamples/Quick_Recipes_on_Symbian_OS_Multimedia_Example_Code/AudioTone/inc/s60_3rd/AudioToneMainView.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 #ifndef __AUDIOTONE_MAINVIEW_H__
00018 #define __AUDIOTONE_MAINVIEW_H__
00019 
00020 // INCLUDES
00021 #include <aknview.h>
00022 #include <akndef.h>
00023 
00024 // FORWARD DECLARATION
00025 class CEikEdwin;
00026 
00027 // CLASS DECLARATION
00028 
00029 class CAudioToneMainView : public CCoeControl
00030         {
00031 public: // Constructors and destructor
00032         static CAudioToneMainView* NewL(const TRect& aRect);
00033         static CAudioToneMainView* NewLC(const TRect& aRect);
00034         ~CAudioToneMainView();
00035         
00036 public: //  New methods
00037         void SetTextL(const TDesC& aText);
00038         
00039 private: // Constructor
00040         void ConstructL(const TRect& aRect);
00041 
00042 private: // From CoeControl
00043         TInt CountComponentControls() const;
00044         CCoeControl* ComponentControl(TInt aIndex) const;
00045 
00046         void Draw(const TRect& aRect) const;
00047         void SizeChanged();
00048         
00049 private:
00050         CEikEdwin* iEikEdwin;
00051         };
00052 
00053 #endif // __AUDIOTONE_MAINVIEW_H__
00054 
00055 // End of File

Generated by  doxygen 1.6.2