3
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-2008 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 the License "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 the CBrowserDialogsProviderProxy class.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// INCLUDE Files
|
|
20 |
|
|
21 |
// System includes
|
|
22 |
#include <BrowserDialogsProviderObserver.h>
|
|
23 |
#include <BrowserDialogsProvider.h>
|
|
24 |
|
|
25 |
// User includes
|
|
26 |
#include "BrCtlApiTestDialogsProvider.h"
|
|
27 |
|
|
28 |
|
|
29 |
// CONSTANTS
|
|
30 |
|
|
31 |
//-----------------------------------------------------------------------------
|
|
32 |
// CBrowserDialogsProviderProxy::CBrowserDialogsProviderProxy
|
|
33 |
//-----------------------------------------------------------------------------
|
|
34 |
CBrowserDialogsProviderProxy::CBrowserDialogsProviderProxy()
|
|
35 |
{
|
|
36 |
}
|
|
37 |
|
|
38 |
|
|
39 |
//-----------------------------------------------------------------------------
|
|
40 |
// CBrowserDialogsProviderProxy::~CBrowserDialogsProviderProxy
|
|
41 |
//-----------------------------------------------------------------------------
|
|
42 |
CBrowserDialogsProviderProxy::~CBrowserDialogsProviderProxy()
|
|
43 |
{
|
|
44 |
}
|
|
45 |
|
|
46 |
|
|
47 |
//-----------------------------------------------------------------------------
|
|
48 |
// CBrowserDialogsProviderProxy* CBrowserDialogsProviderProxy::NewL
|
|
49 |
//-----------------------------------------------------------------------------
|
|
50 |
CBrowserDialogsProviderProxy* CBrowserDialogsProviderProxy::NewL()
|
|
51 |
{
|
|
52 |
CBrowserDialogsProviderProxy* self = new (ELeave)
|
|
53 |
CBrowserDialogsProviderProxy( );
|
|
54 |
|
|
55 |
CleanupStack::PushL( self );
|
|
56 |
self->ConstructL( );
|
|
57 |
CleanupStack::Pop( self ); // self
|
|
58 |
return self;
|
|
59 |
}
|
|
60 |
|
|
61 |
//-----------------------------------------------------------------------------
|
|
62 |
// CBrowserDialogsProviderProxy::ConstructL
|
|
63 |
//
|
|
64 |
//-----------------------------------------------------------------------------
|
|
65 |
void CBrowserDialogsProviderProxy::ConstructL()
|
|
66 |
{
|
|
67 |
}
|
|
68 |
|
|
69 |
|
|
70 |
//-----------------------------------------------------------------------------
|
|
71 |
// CBrowserDialogsProviderProxy::DialogNotifyErrorL
|
|
72 |
//
|
|
73 |
//-----------------------------------------------------------------------------
|
|
74 |
void CBrowserDialogsProviderProxy::DialogNotifyErrorL( TInt /* aErrCode */ )
|
|
75 |
{
|
|
76 |
}
|
|
77 |
|
|
78 |
|
|
79 |
//-----------------------------------------------------------------------------
|
|
80 |
// CBrowserDialogsProviderProxy::DialogNotifyHttpErrorL
|
|
81 |
//-----------------------------------------------------------------------------
|
|
82 |
void CBrowserDialogsProviderProxy::DialogNotifyHttpErrorL(
|
|
83 |
TInt /* aErrCode */ , const TDesC& /* aUri */ )
|
|
84 |
{
|
|
85 |
}
|
|
86 |
|
|
87 |
|
|
88 |
//-----------------------------------------------------------------------------
|
|
89 |
// CBrowserDialogsProviderProxy::DialogFileSelectLC
|
|
90 |
//-----------------------------------------------------------------------------
|
|
91 |
TBool CBrowserDialogsProviderProxy::DialogFileSelectLC(
|
|
92 |
const TDesC& /* aStartPath */,
|
|
93 |
const TDesC& /* aRootPath */,
|
|
94 |
HBufC*& /* aSelectedFileName */ )
|
|
95 |
{
|
|
96 |
TBool retVal( EFalse );
|
|
97 |
return retVal;
|
|
98 |
}
|
|
99 |
|
|
100 |
//-----------------------------------------------------------------------------
|
|
101 |
// CBrowserDialogsProviderProxy::DialogSelectOptionL
|
|
102 |
//-----------------------------------------------------------------------------
|
|
103 |
TBool CBrowserDialogsProviderProxy::DialogSelectOptionL(
|
|
104 |
const TDesC& /* aTitle */,
|
|
105 |
TBrCtlSelectOptionType /* aBrCtlSelectOptionType */,
|
|
106 |
CArrayFix<TBrCtlSelectOptionData>& /* aOptions */ )
|
|
107 |
{
|
|
108 |
TBool retVal( EFalse );
|
|
109 |
|
|
110 |
return retVal;
|
|
111 |
}
|
|
112 |
|
|
113 |
|
|
114 |
//-----------------------------------------------------------------------------
|
|
115 |
// CBrowserDialogsProviderProxy::DialogUserAuthenticationLC
|
|
116 |
//-----------------------------------------------------------------------------
|
|
117 |
TBool CBrowserDialogsProviderProxy::DialogUserAuthenticationLC(
|
|
118 |
const TDesC& /* aUrl */,
|
|
119 |
const TDesC& /* aRealm */,
|
|
120 |
const TDesC& /* aDefaultUserName */,
|
|
121 |
HBufC*& /* aReturnedUserName */,
|
|
122 |
HBufC*& /* aReturnedPasswd */,
|
|
123 |
TBool /* aBasicAuthentication */ )
|
|
124 |
{
|
|
125 |
TBool retVal( EFalse );
|
|
126 |
return retVal;
|
|
127 |
}
|
|
128 |
|
|
129 |
|
|
130 |
//-----------------------------------------------------------------------------
|
|
131 |
// CBrowserDialogsProviderProxy::DialogNoteL
|
|
132 |
//-----------------------------------------------------------------------------
|
|
133 |
void CBrowserDialogsProviderProxy::DialogNoteL( const TDesC& /* aMessage */)
|
|
134 |
{
|
|
135 |
}
|
|
136 |
|
|
137 |
|
|
138 |
//-----------------------------------------------------------------------------
|
|
139 |
// CBrowserDialogsProviderProxy::DialogAlertL
|
|
140 |
//-----------------------------------------------------------------------------
|
|
141 |
void CBrowserDialogsProviderProxy::DialogAlertL( const TDesC& /* aTitle */,
|
|
142 |
const TDesC& /* aMessage */ )
|
|
143 |
{
|
|
144 |
}
|
|
145 |
|
|
146 |
|
|
147 |
//-----------------------------------------------------------------------------
|
|
148 |
// CBrowserDialogsProviderProxy::DialogConfirmL
|
|
149 |
//-----------------------------------------------------------------------------
|
|
150 |
TBool CBrowserDialogsProviderProxy::DialogConfirmL( const TDesC& /* aTitle */,
|
|
151 |
const TDesC& /* aMessage */,
|
|
152 |
const TDesC& /* aYesMessage */,
|
|
153 |
const TDesC& /* aNoMessage */ )
|
|
154 |
{
|
|
155 |
TBool retVal( EFalse );
|
|
156 |
return retVal;
|
|
157 |
}
|
|
158 |
|
|
159 |
//-----------------------------------------------------------------------------
|
|
160 |
// CBrowserDialogsProviderProxy::DialogPromptLC
|
|
161 |
//-----------------------------------------------------------------------------
|
|
162 |
TBool CBrowserDialogsProviderProxy::DialogPromptLC( const TDesC& /* aTitle */,
|
|
163 |
const TDesC& /* aMessage */,
|
|
164 |
const TDesC& /* aDefaultInput */,
|
|
165 |
HBufC*& /* aReturnedInput */ )
|
|
166 |
{
|
|
167 |
TBool retVal( EFalse );
|
|
168 |
return retVal;
|
|
169 |
}
|
|
170 |
|
|
171 |
//-----------------------------------------------------------------------------
|
|
172 |
// CBrowserDialogsProviderProxy::DialogDownloadObjectL
|
|
173 |
//-----------------------------------------------------------------------------
|
|
174 |
TBool CBrowserDialogsProviderProxy::DialogDownloadObjectL(
|
|
175 |
CBrCtlObjectInfo* /* aBrCtlObjectInfo */ )
|
|
176 |
{
|
|
177 |
TBool retVal( EFalse );
|
|
178 |
|
|
179 |
return retVal;
|
|
180 |
}
|
|
181 |
|
|
182 |
//-----------------------------------------------------------------------------
|
|
183 |
// CBrowserDialogsProviderProxy::DialogDisplayPageImagesL
|
|
184 |
//-----------------------------------------------------------------------------
|
|
185 |
void CBrowserDialogsProviderProxy::DialogDisplayPageImagesL(
|
|
186 |
CArrayFixFlat<TBrCtlImageCarrier>& /* aPageImages */ )
|
|
187 |
{
|
|
188 |
}
|
|
189 |
|
|
190 |
|
|
191 |
//-----------------------------------------------------------------------------
|
|
192 |
// CBrowserDialogsProviderProxy::CancelAll
|
|
193 |
//-----------------------------------------------------------------------------
|
|
194 |
//
|
|
195 |
void CBrowserDialogsProviderProxy::CancelAll()
|
|
196 |
{
|
|
197 |
}
|
|
198 |
|
|
199 |
//-----------------------------------------------------------------------------
|
|
200 |
// CBrowserDialogsProviderProxy::DialogMimeFileSelectLC
|
|
201 |
//-----------------------------------------------------------------------------
|
|
202 |
TBool CBrowserDialogsProviderProxy::DialogMimeFileSelectLC(
|
|
203 |
HBufC*& /* aSelectedFileName */,
|
|
204 |
const TDesC& /* aMimeType */ )
|
|
205 |
{
|
|
206 |
TBool retVal( EFalse );
|
|
207 |
return retVal;
|
|
208 |
}
|
|
209 |
|
|
210 |
//-----------------------------------------------------------------------------
|
|
211 |
// CBrowserDialogsProviderProxy::ShowTooltipL
|
|
212 |
//-----------------------------------------------------------------------------
|
|
213 |
//
|
|
214 |
void CBrowserDialogsProviderProxy::ShowTooltipL( const TDesC& /* aText */,
|
|
215 |
TInt /* aDuration */,
|
|
216 |
TInt /* aDelay */ )
|
|
217 |
{
|
|
218 |
}
|
|
219 |
|
|
220 |
//-----------------------------------------------------------------------------
|
|
221 |
// CBrowserDialogsProviderProxy::UploadProgressNoteL
|
|
222 |
//-----------------------------------------------------------------------------
|
|
223 |
//
|
|
224 |
void CBrowserDialogsProviderProxy::UploadProgressNoteL(
|
|
225 |
TInt32 /* aTotalSize */,
|
|
226 |
TInt32 /* aChunkSize */,
|
|
227 |
TBool /* aIsLastChunk */,
|
|
228 |
MBrowserDialogsProviderObserver* /* aObserver */ )
|
|
229 |
{
|
|
230 |
}
|
|
231 |
|
|
232 |
//-----------------------------------------------------------------------------
|
|
233 |
// CBrowserDialogsProviderProxy::WindowActivated()
|
|
234 |
//-----------------------------------------------------------------------------
|
|
235 |
//
|
|
236 |
void CBrowserDialogsProviderProxy::WindowActivated()
|
|
237 |
{
|
|
238 |
}
|
|
239 |
|
|
240 |
// End of File
|