00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef __MIDIPLAYING_MAINVIEW_H__
00018 #define __MIDIPLAYING_MAINVIEW_H__
00019 
00020 
00021 #include <aknview.h>
00022 #include <akndef.h>
00023 
00024 
00025 class CEikEdwin;
00026 
00027 
00028 
00029 class CMidiPlayingMainView : public CCoeControl
00030         {
00031 public: 
00032         static CMidiPlayingMainView* NewL(const TRect& aRect);
00033         static CMidiPlayingMainView* NewLC(const TRect& aRect);
00034         ~CMidiPlayingMainView();
00035         
00036 public: 
00037         void SetTextL(const TDesC& aText);
00038         
00039 private: 
00040         void ConstructL(const TRect& aRect);
00041 
00042 private: 
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 // __MIDIPLAYING_MAINVIEW_H__
00054 
00055