00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef __ContactAsynchFind_MAINVIEW_H__
00018 #define __ContactAsynchFind_MAINVIEW_H__
00019 
00020 
00021 #include <aknview.h>
00022 #include <akndef.h>
00023 
00024 class CEikEdwin;
00025 
00026 
00027 
00028 class CContactAsynchFindMainView : public CCoeControl
00029         {
00030 public:
00031 
00032         static CContactAsynchFindMainView* NewL( const TRect& aRect );
00033         static CContactAsynchFindMainView* NewLC( const TRect& aRect );
00034         ~CContactAsynchFindMainView();
00035         
00036 public:
00037 
00038         void SetTextL(const TDesC& aText);
00039         
00040 private:
00041 
00042         void ConstructL( const TRect& aRect );
00043 
00044 private: 
00045 
00046         TInt CountComponentControls() const;
00047         CCoeControl* ComponentControl(TInt aIndex) const;
00048 
00049         void Draw(const TRect& aRect) const;
00050         void SizeChanged();
00051         
00052 private:
00053 
00054         CEikEdwin* iEikEdwin;
00055 
00056         };
00057 
00058 #endif // __ContactAsynchFind_MAINVIEW_H__
00059 
00060