62
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Implementation of CVideoDTMFDialer class, stub.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// INCLUDE FILES
|
|
20 |
#include "cvideodtmfdialer.h"
|
|
21 |
|
|
22 |
#include <aknenv.h>
|
|
23 |
|
|
24 |
// ========================= MEMBER FUNCTIONS ================================
|
|
25 |
|
|
26 |
// ---------------------------------------------------------------------------
|
|
27 |
// CVideoDTMFDialer::NewL
|
|
28 |
//
|
|
29 |
// Symbian OS two phased constructor for video dtmf mode
|
|
30 |
// ---------------------------------------------------------------------------
|
|
31 |
//
|
|
32 |
EXPORT_C CVideoDTMFDialer* CVideoDTMFDialer::NewL( const CCoeControl& aContainer,
|
|
33 |
CCoeControl& aVideoWindow,
|
|
34 |
const TRect& aRect )
|
|
35 |
{
|
|
36 |
CVideoDTMFDialer* self = new( ELeave )CVideoDTMFDialer ( );
|
|
37 |
CleanupStack::PushL( self );
|
|
38 |
self->ConstructL( aContainer , aVideoWindow, aRect );
|
|
39 |
CleanupStack::Pop(); // self
|
|
40 |
return self;
|
|
41 |
}
|
|
42 |
|
|
43 |
// Destructor
|
|
44 |
EXPORT_C CVideoDTMFDialer::~CVideoDTMFDialer()
|
|
45 |
{
|
|
46 |
// Empty
|
|
47 |
}
|
|
48 |
|
|
49 |
// ---------------------------------------------------------------------------
|
|
50 |
// CVideoDTMFDialer::ConstructL
|
|
51 |
//
|
|
52 |
// Symbian OS two phased constructor for video telephony mode.
|
|
53 |
// ---------------------------------------------------------------------------
|
|
54 |
//
|
|
55 |
void CVideoDTMFDialer::ConstructL(
|
|
56 |
const CCoeControl& aContainer,
|
|
57 |
CCoeControl& /*aVideoWindow*/,
|
|
58 |
const TRect& aRect )
|
|
59 |
{
|
|
60 |
// set window
|
|
61 |
SetContainerWindowL( aContainer );
|
|
62 |
SetParent( const_cast<CCoeControl*>(&aContainer) );
|
|
63 |
iParentControl = &aContainer;
|
|
64 |
SetRect( aRect );
|
|
65 |
}
|
|
66 |
|
|
67 |
// Constructor
|
|
68 |
CVideoDTMFDialer::CVideoDTMFDialer( ) :
|
|
69 |
iEikEnv( *CEikonEnv::Static() ) // codescanner::performance::eikonenvstatic
|
|
70 |
{
|
|
71 |
// Empty
|
|
72 |
}
|
|
73 |
|
|
74 |
|
|
75 |
// Functions from CCoeControl
|
|
76 |
|
|
77 |
// ---------------------------------------------------------------------------
|
|
78 |
// CVideoDTMFDialer::SizeChanged
|
|
79 |
//
|
|
80 |
// Called by framework when the view size is changed
|
|
81 |
//
|
|
82 |
// ---------------------------------------------------------------------------
|
|
83 |
//
|
|
84 |
void CVideoDTMFDialer::SizeChanged()
|
|
85 |
{
|
|
86 |
// Empty
|
|
87 |
}
|
|
88 |
|
|
89 |
// ---------------------------------------------------------------------------
|
|
90 |
// CVideoDTMFDialer::PositionChanged
|
|
91 |
// ---------------------------------------------------------------------------
|
|
92 |
//
|
|
93 |
void CVideoDTMFDialer::PositionChanged()
|
|
94 |
{
|
|
95 |
// Empty
|
|
96 |
}
|
|
97 |
|
|
98 |
// ---------------------------------------------------------------------------
|
|
99 |
// CVideoDTMFDialer::CountComponentControls
|
|
100 |
//
|
|
101 |
// Returns contained controls in phone dialer mode or in video dtmf mode.
|
|
102 |
// ---------------------------------------------------------------------------
|
|
103 |
//
|
|
104 |
TInt CVideoDTMFDialer::CountComponentControls() const
|
|
105 |
{
|
|
106 |
return NULL;
|
|
107 |
}
|
|
108 |
|
|
109 |
// ---------------------------------------------------------------------------
|
|
110 |
// CVideoDTMFDialer::ComponentControl(TInt aIndex) const
|
|
111 |
//
|
|
112 |
// Returns contained control by given index.
|
|
113 |
// ---------------------------------------------------------------------------
|
|
114 |
//
|
|
115 |
CCoeControl* CVideoDTMFDialer::ComponentControl( TInt /*aIndex*/ ) const
|
|
116 |
{
|
|
117 |
return NULL;
|
|
118 |
}
|
|
119 |
|
|
120 |
// ---------------------------------------------------------------------------
|
|
121 |
// CVideoDTMFDialer::Draw
|
|
122 |
// ---------------------------------------------------------------------------
|
|
123 |
//
|
|
124 |
void CVideoDTMFDialer::Draw( const TRect& /*aRect*/ ) const
|
|
125 |
{
|
|
126 |
// Empty
|
|
127 |
}
|
|
128 |
|
|
129 |
// ---------------------------------------------------------------------------
|
|
130 |
// CVideoDTMFDialer::HandleResourceChange
|
|
131 |
//
|
|
132 |
// ---------------------------------------------------------------------------
|
|
133 |
//
|
|
134 |
void CVideoDTMFDialer::HandleResourceChange( TInt /*aType*/ )
|
|
135 |
{
|
|
136 |
// Empty
|
|
137 |
}
|
|
138 |
|
|
139 |
// -----------------------------------------------------------------------------
|
|
140 |
// CVideoDTMFDialer::HandlePointerEventL
|
|
141 |
//
|
|
142 |
// -----------------------------------------------------------------------------
|
|
143 |
//
|
|
144 |
void CVideoDTMFDialer::HandlePointerEventL( const TPointerEvent& /*aPointerEvent*/ )
|
|
145 |
{
|
|
146 |
// Empty
|
|
147 |
}
|
|
148 |
|
|
149 |
// Private methods
|
|
150 |
|
|
151 |
// -----------------------------------------------------------------------------
|
|
152 |
// CVideoDTMFDialer::LoadResourceL
|
|
153 |
//
|
|
154 |
// -----------------------------------------------------------------------------
|
|
155 |
//
|
|
156 |
void CVideoDTMFDialer::LoadResourceL()
|
|
157 |
{
|
|
158 |
// Empty
|
|
159 |
}
|
|
160 |
|
|
161 |
// -----------------------------------------------------------------------------
|
|
162 |
// CVideoDTMFDialer::UnLoadResources
|
|
163 |
//
|
|
164 |
// -----------------------------------------------------------------------------
|
|
165 |
//
|
|
166 |
void CVideoDTMFDialer::UnLoadResources()
|
|
167 |
{
|
|
168 |
// Empty
|
|
169 |
}
|
|
170 |
|
|
171 |
|
|
172 |
// ---------------------------------------------------------------------------
|
|
173 |
// CVideoDTMFDialer::ComponentControlForVideoMode
|
|
174 |
//
|
|
175 |
// Returns contained control by given index in video DTMF mode.
|
|
176 |
//
|
|
177 |
// ---------------------------------------------------------------------------
|
|
178 |
//
|
|
179 |
CCoeControl* CVideoDTMFDialer::ComponentControlForVideoMode( const TInt /*aIndex*/ ) const
|
|
180 |
{
|
|
181 |
return NULL;
|
|
182 |
}
|
|
183 |
|
|
184 |
// End of File
|