examples/ForumNokia/DescriptorExample/inc/DescriptorExContainer.h

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 #ifndef DESCRIPTOREXCONTAINER_H
00006 #define DESCRIPTOREXCONTAINER_H
00007 
00008 #include <eikedwin.h>
00009 
00010 class CAknsBasicBackgroundControlContext;
00011 
00012 class CDescriptorExContainer : public CCoeControl
00013     {
00014     public:
00015 
00022         void ConstructL(const TRect& aRect);
00023 
00027         ~CDescriptorExContainer();
00028 
00033         void SetTextL( const TDesC& aText );
00034 
00035     public: // overriden methods of CCoeControl
00036 
00040         virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
00041                                             TEventCode aType);
00042         void SizeChanged();
00043 
00044     private: // overriden methods of CCoeControl
00045 
00050         TInt CountComponentControls() const;
00051         CCoeControl* ComponentControl(TInt aIndex) const;
00052 
00053         TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
00054         
00055     private:
00056         TInt GetScrollbarWidth() const;
00057 
00058     private:
00059         CEikEdwin*                          iTextBox;
00060         CAknsBasicBackgroundControlContext* iSkinContext;
00061     };
00062 
00063 #endif

Generated by  doxygen 1.6.2