blob: 465496c9d73273fcdf303109902ee75185c633b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
/*
========================================================================
Name : symbian_ua_guiContainer.h
Author : nanang
Copyright : (c) PJSIP 2008
Description :
========================================================================
*/
#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
|