examples/SFExamples/Quick_Recipes_on_Symbian_OS_Multimedia_Example_Code/AudioPlaying/inc/s60_3rd/AudioPlayingMainView.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 __AUDIOPLAYING_MAINVIEW_H__
00018 #define __AUDIOPLAYING_MAINVIEW_H__
00019 
00020 // INCLUDE FILES
00021 #include <aknview.h>
00022 #include <akndef.h>
00023 
00024 class CEikEdwin;
00025 
00026 // CLASS DECLARATION
00027 
00028 class CAudioPlayingMainView : public CCoeControl
00029         {
00030 public: // Constructors and destructor
00031         static CAudioPlayingMainView* NewL( const TRect& aRect );
00032         static CAudioPlayingMainView* NewLC( const TRect& aRect );
00033         ~CAudioPlayingMainView();
00034         
00035 public: //  New methods
00036         void SetTextL(const TDesC& aText);
00037         
00038 private: // Constructor
00039         void ConstructL( const TRect& aRect );
00040 
00041 private: // From CoeControl
00042         TInt CountComponentControls() const;
00043         CCoeControl* ComponentControl(TInt aIndex) const;
00044 
00045         void Draw(const TRect& aRect) const;
00046         void SizeChanged();
00047         
00048 private:
00049         CEikEdwin* iEikEdwin;
00050         };
00051 
00052 #endif // __AUDIOPLAYING_MAINVIEW_H__
00053 
00054 // End of File

Generated by  doxygen 1.6.2