examples/Multimedia/AudioClientEx/CMediaClientView.h

00001 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #ifndef CMEDIACLIENTVIEW
00018 #define CMEDIACLIENTVIEW
00019 
00020 #include <coecntrl.h>
00021 
00022 class CMediaClientEngine;
00023 
00030 class CMediaClientView : public CCoeControl 
00031     {
00032 public:
00040     static CMediaClientView* NewL(const TRect& aRect, CMediaClientEngine& aEngine);
00045     ~CMediaClientView();
00046 
00047         // 
00048 
00054         void SetDescription(const TDesC& aDescription);
00055 
00056 private: 
00057 
00064     void Draw(const TRect& /*aRect*/) const;
00065 
00066 private:
00072         CMediaClientView(CMediaClientEngine& aEngine);    void ConstructL(const TRect& aRect);
00078 
00079 private:
00081         CMediaClientEngine& iEngine;
00083         TBufC<25> iDescription;
00084     };
00085 
00086 #endif // CMEDIACLIENTVIEW

Generated on Thu Jan 21 10:32:59 2010 for TB10.1 Example Applications by  doxygen 1.5.3