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
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.