diff options
Diffstat (limited to 'pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h')
-rw-r--r-- | pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h b/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h new file mode 100644 index 0000000..0b6a847 --- /dev/null +++ b/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h @@ -0,0 +1,123 @@ +/* $Id: symbian_ua_guiContainer.h 3550 2011-05-05 05:33:27Z nanang $ */ +/* + * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +#ifndef SYMBIAN_UA_GUICONTAINER_H +#define SYMBIAN_UA_GUICONTAINER_H + +// [[[ begin generated region: do not modify [Generated Includes] +#include <coecntrl.h> +// ]]] end generated region [Generated Includes] + + +// [[[ begin [Event Handler Includes] +// ]]] end [Event Handler Includes] + +// [[[ begin generated region: do not modify [Generated Forward Declarations] +class MEikCommandObserver; +class CEikLabel; +class CEikEdwin; +// ]]] end generated region [Generated Forward Declarations] + +/** + * Container class for symbian_ua_guiContainer + * + * @class CSymbian_ua_guiContainer symbian_ua_guiContainer.h + */ +class CSymbian_ua_guiContainer : public CCoeControl + { +public: + // constructors and destructor + CSymbian_ua_guiContainer(); + static CSymbian_ua_guiContainer* NewL( + const TRect& aRect, + const CCoeControl* aParent, + MEikCommandObserver* aCommandObserver ); + static CSymbian_ua_guiContainer* NewLC( + const TRect& aRect, + const CCoeControl* aParent, + MEikCommandObserver* aCommandObserver ); + void ConstructL( + const TRect& aRect, + const CCoeControl* aParent, + MEikCommandObserver* aCommandObserver ); + virtual ~CSymbian_ua_guiContainer(); + +public: + // from base class CCoeControl + TInt CountComponentControls() const; + CCoeControl* ComponentControl( TInt aIndex ) const; + TKeyResponse OfferKeyEventL( + const TKeyEvent& aKeyEvent, + TEventCode aType ); + void HandleResourceChange( TInt aType ); + +protected: + // from base class CCoeControl + void SizeChanged(); + +private: + // from base class CCoeControl + void Draw( const TRect& aRect ) const; + +private: + void InitializeControlsL(); + void LayoutControls(); + CCoeControl* iFocusControl; + MEikCommandObserver* iCommandObserver; + // [[[ begin generated region: do not modify [Generated Methods] +public: + // ]]] end generated region [Generated Methods] + + // [[[ begin generated region: do not modify [Generated Type Declarations] +public: + // ]]] end generated region [Generated Type Declarations] + + // [[[ begin generated region: do not modify [Generated Instance Variables] +private: + CEikLabel* iLabel1; + CEikEdwin* iEd_url; + CEikEdwin* iEd_info; + // ]]] end generated region [Generated Instance Variables] + + + // [[[ begin [Overridden Methods] +protected: + // ]]] end [Overridden Methods] + + + // [[[ begin [User Handlers] +protected: + // ]]] end [User Handlers] + +public: + enum TControls + { + // [[[ begin generated region: do not modify [Generated Contents] + ELabel1, + EEd_url, + EEd_info, + + // ]]] end generated region [Generated Contents] + + // add any user-defined entries here... + + ELastControl + }; + }; + +#endif // SYMBIAN_UA_GUICONTAINER_H |