1
/* $Id: symbian_ua_guiContainer.h 3550 2011-05-05 05:33:27Z nanang $ */
3
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
#ifndef SYMBIAN_UA_GUICONTAINER_H
20
#define SYMBIAN_UA_GUICONTAINER_H
22
// [[[ begin generated region: do not modify [Generated Includes]
24
// ]]] end generated region [Generated Includes]
27
// [[[ begin [Event Handler Includes]
28
// ]]] end [Event Handler Includes]
30
// [[[ begin generated region: do not modify [Generated Forward Declarations]
31
class MEikCommandObserver;
34
// ]]] end generated region [Generated Forward Declarations]
37
* Container class for symbian_ua_guiContainer
39
* @class CSymbian_ua_guiContainer symbian_ua_guiContainer.h
41
class CSymbian_ua_guiContainer : public CCoeControl
44
// constructors and destructor
45
CSymbian_ua_guiContainer();
46
static CSymbian_ua_guiContainer* NewL(
48
const CCoeControl* aParent,
49
MEikCommandObserver* aCommandObserver );
50
static CSymbian_ua_guiContainer* NewLC(
52
const CCoeControl* aParent,
53
MEikCommandObserver* aCommandObserver );
56
const CCoeControl* aParent,
57
MEikCommandObserver* aCommandObserver );
58
virtual ~CSymbian_ua_guiContainer();
61
// from base class CCoeControl
62
TInt CountComponentControls() const;
63
CCoeControl* ComponentControl( TInt aIndex ) const;
64
TKeyResponse OfferKeyEventL(
65
const TKeyEvent& aKeyEvent,
67
void HandleResourceChange( TInt aType );
70
// from base class CCoeControl
74
// from base class CCoeControl
75
void Draw( const TRect& aRect ) const;
78
void InitializeControlsL();
79
void LayoutControls();
80
CCoeControl* iFocusControl;
81
MEikCommandObserver* iCommandObserver;
82
// [[[ begin generated region: do not modify [Generated Methods]
84
// ]]] end generated region [Generated Methods]
86
// [[[ begin generated region: do not modify [Generated Type Declarations]
88
// ]]] end generated region [Generated Type Declarations]
90
// [[[ begin generated region: do not modify [Generated Instance Variables]
95
// ]]] end generated region [Generated Instance Variables]
98
// [[[ begin [Overridden Methods]
100
// ]]] end [Overridden Methods]
103
// [[[ begin [User Handlers]
105
// ]]] end [User Handlers]
110
// [[[ begin generated region: do not modify [Generated Contents]
115
// ]]] end generated region [Generated Contents]
117
// add any user-defined entries here...
123
#endif // SYMBIAN_UA_GUICONTAINER_H