author | William Roberts <williamr@symbian.org> |
Thu, 22 Jul 2010 16:32:06 +0100 | |
branch | GCC_SURGE |
changeset 47 | 5b14749788d7 |
parent 27 | e4592d119491 |
parent 43 | 35b64624a9e7 |
permissions | -rw-r--r-- |
31 | 1 |
/* |
2 |
* Copyright (c) 2009 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: This widget displays the body of the viewer |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#include "univiewerbodywidget.h" |
|
19 |
||
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
20 |
// SYSTEM INCLUDES |
31 | 21 |
#include <QFile> |
22 |
#include <HbTextItem> |
|
23 |
#include <HbMainWindow> |
|
24 |
||
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
25 |
// USER INCLUDES |
31 | 26 |
#include "univiewertextitem.h" |
27 |
#include "univiewerpixmapwidget.h" |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
28 |
#include "univieweraudiowidget.h" |
31 | 29 |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
30 |
// LOCAL CONSTANTS |
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
31 |
const QString IMAGE_MIMETYPE("image"); |
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
32 |
const QString AUDIO_MIMETYPE("audio"); |
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
33 |
const QString VIDEO_MIMETYPE("video"); |
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
34 |
const QString TEXT_MIMETYPE("text"); |
31 | 35 |
|
36 |
//--------------------------------------------------------------- |
|
37 |
//UniViewerBodyWidget::UniViewerBodyWidget |
|
38 |
// @see header file |
|
39 |
//--------------------------------------------------------------- |
|
40 |
UniViewerBodyWidget::UniViewerBodyWidget(QGraphicsItem *parent) : |
|
41 |
HbWidget(parent), mHasText(false), mHasPixmap(false), mTextItem(0), mSlideCounter(0), |
|
42 |
mPixmapItem(0), mAudioItem(0) |
|
43 |
{ |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
44 |
this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
31 | 45 |
} |
46 |
||
47 |
//--------------------------------------------------------------- |
|
48 |
//UniViewerBodyWidget::~UniViewerBodyWidget |
|
49 |
// @see header file |
|
50 |
//--------------------------------------------------------------- |
|
51 |
UniViewerBodyWidget::~UniViewerBodyWidget() |
|
52 |
{ |
|
53 |
} |
|
54 |
||
55 |
//--------------------------------------------------------------- |
|
56 |
//UniViewerBodyWidget::setImage |
|
57 |
// @see header file |
|
58 |
//--------------------------------------------------------------- |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
59 |
void UniViewerBodyWidget::setPixmap(UniMessageInfo *info) |
31 | 60 |
{ |
61 |
setHasPixmap(true); |
|
62 |
//create image item instance |
|
63 |
if (!mPixmapItem) { |
|
64 |
mPixmapItem = new UniViewerPixmapWidget(this); |
|
65 |
HbStyle::setItemName(mPixmapItem, "pixmap"); |
|
66 |
} |
|
67 |
mPixmapItem->hide(); |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
68 |
mPixmapItem->populate(info); |
31 | 69 |
|
70 |
this->repolish(); |
|
71 |
} |
|
72 |
||
73 |
//--------------------------------------------------------------- |
|
74 |
//UniViewerBodyWidget::setAudio |
|
75 |
// @see header file |
|
76 |
//--------------------------------------------------------------- |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
77 |
void UniViewerBodyWidget::setAudio(UniMessageInfo *info) |
31 | 78 |
{ |
79 |
if (!mAudioItem) { |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
80 |
mAudioItem = new UniViewerAudioWidget(this); |
31 | 81 |
HbStyle::setItemName(mAudioItem, "audioItem"); |
82 |
} |
|
83 |
mAudioItem->hide(); |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
84 |
mAudioItem->populate(info); |
31 | 85 |
|
86 |
this->repolish(); |
|
87 |
} |
|
88 |
||
89 |
//--------------------------------------------------------------- |
|
90 |
//UniViewerBodyWidget::setVideo |
|
91 |
// @see header file |
|
92 |
//--------------------------------------------------------------- |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
93 |
void UniViewerBodyWidget::setVideo(UniMessageInfo *info) |
31 | 94 |
{ |
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
95 |
setHasPixmap(true); |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
96 |
//create image item instance |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
97 |
if (!mPixmapItem) { |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
98 |
mPixmapItem = new UniViewerPixmapWidget(this); |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
99 |
HbStyle::setItemName(mPixmapItem, "pixmap"); |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
100 |
} |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
101 |
mPixmapItem->hide(); |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
102 |
mPixmapItem->populate(info); |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
103 |
|
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
104 |
this->repolish(); |
31 | 105 |
} |
106 |
||
107 |
//--------------------------------------------------------------- |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
108 |
//UniViewerBodyWidget::setText |
31 | 109 |
// @see header file |
110 |
//--------------------------------------------------------------- |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
111 |
void UniViewerBodyWidget::setText(QString text) |
31 | 112 |
{ |
113 |
setHasText(true); |
|
114 |
||
115 |
if (!mTextItem) { |
|
116 |
mTextItem = new UniViewerTextItem(this); |
|
117 |
HbStyle::setItemName(mTextItem, "textItem"); |
|
118 |
connect(mTextItem, SIGNAL(sendMessage(const QString&)), this, |
|
119 |
SIGNAL(sendMessage(const QString&))); |
|
120 |
} |
|
121 |
mTextItem->hide(); |
|
122 |
text.replace(QChar::ParagraphSeparator, QChar::LineSeparator); |
|
123 |
text.replace('\r', QChar::LineSeparator); |
|
124 |
mTextItem->setText(text); |
|
125 |
this->repolish(); |
|
126 |
} |
|
127 |
||
128 |
//--------------------------------------------------------------- |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
129 |
// UniViewerBodyWidget::setSlideCounter |
31 | 130 |
// @see header file |
131 |
//--------------------------------------------------------------- |
|
132 |
void UniViewerBodyWidget::setSlideCounter(QString &slideCounter) |
|
133 |
{ |
|
134 |
if (!mSlideCounter) { |
|
135 |
mSlideCounter = new HbTextItem(this); |
|
136 |
HbStyle::setItemName(mSlideCounter, "slideCounter"); |
|
137 |
} |
|
138 |
||
139 |
mSlideCounter->hide(); |
|
140 |
mSlideCounter->setText(slideCounter); |
|
141 |
this->repolish(); |
|
142 |
} |
|
143 |
||
144 |
//--------------------------------------------------------------- |
|
145 |
// UniViewerBodyWidget::setHasText |
|
146 |
// @see header file |
|
147 |
//--------------------------------------------------------------- |
|
148 |
void UniViewerBodyWidget::setHasText(bool text) |
|
149 |
{ |
|
150 |
mHasText = text; |
|
151 |
} |
|
152 |
||
153 |
//--------------------------------------------------------------- |
|
154 |
// UniViewerBodyWidget::hasText |
|
155 |
// @see header file |
|
156 |
//--------------------------------------------------------------- |
|
157 |
bool UniViewerBodyWidget::hasText() |
|
158 |
{ |
|
159 |
return mHasText; |
|
160 |
} |
|
161 |
||
162 |
//--------------------------------------------------------------- |
|
163 |
// UniViewerBodyWidget::setHasPixmap |
|
164 |
// @see header file |
|
165 |
//--------------------------------------------------------------- |
|
166 |
void UniViewerBodyWidget::setHasPixmap(bool pixmap) |
|
167 |
{ |
|
168 |
mHasPixmap = pixmap; |
|
169 |
} |
|
170 |
||
171 |
//--------------------------------------------------------------- |
|
172 |
// UniViewerBodyWidget::hasPixmap |
|
173 |
// @see header file |
|
174 |
//--------------------------------------------------------------- |
|
175 |
bool UniViewerBodyWidget::hasPixmap() |
|
176 |
{ |
|
177 |
return mHasPixmap; |
|
178 |
} |
|
179 |
||
180 |
//--------------------------------------------------------------- |
|
181 |
// UniViewerBodyWidget::setSlideContents |
|
182 |
// @see header file |
|
183 |
//--------------------------------------------------------------- |
|
184 |
void UniViewerBodyWidget::setSlideContents(UniMessageInfoList objList, QString slideString) |
|
185 |
{ |
|
186 |
if (!slideString.isEmpty()) { |
|
187 |
setSlideCounter(slideString); |
|
188 |
} |
|
189 |
||
190 |
int count = objList.count(); |
|
191 |
for (int a = 0; a < count; ++a) { |
|
192 |
UniMessageInfo* info = objList.at(a); |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
193 |
QString mimeType = info->mimetype(); |
31 | 194 |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
195 |
if (mimeType.contains(TEXT_MIMETYPE)) { |
31 | 196 |
QFile file(info->path()); |
197 |
if (file.open(QIODevice::ReadOnly)) { |
|
198 |
QString textContent(file.readAll()); |
|
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
199 |
setText(textContent); |
31 | 200 |
} |
201 |
} |
|
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
202 |
else if (mimeType.contains(AUDIO_MIMETYPE)) { |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
203 |
setAudio(info); |
31 | 204 |
} |
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
205 |
else if (mimeType.contains(VIDEO_MIMETYPE)) { |
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
206 |
setVideo(info); |
31 | 207 |
} |
34
84197e66a4bd
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
208 |
else if (mimeType.contains(IMAGE_MIMETYPE)) { |
43
35b64624a9e7
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
34
diff
changeset
|
209 |
setPixmap(info); |
31 | 210 |
} |
211 |
||
212 |
delete info; |
|
213 |
} |
|
214 |
} |
|
215 |
||
216 |
//--------------------------------------------------------------- |
|
217 |
//UniViewerBodyWidget :: clearContent |
|
218 |
// @see header file |
|
219 |
//--------------------------------------------------------------- |
|
220 |
void UniViewerBodyWidget::clearContent() |
|
221 |
{ |
|
222 |
// delete the temp items(pixmap) & clear permanent items(text) |
|
223 |
if (mPixmapItem) { |
|
224 |
mPixmapItem->setParent(NULL); |
|
225 |
delete mPixmapItem; |
|
226 |
mPixmapItem = NULL; |
|
227 |
} |
|
228 |
||
229 |
if (mAudioItem) { |
|
230 |
mAudioItem->setParent(NULL); |
|
231 |
delete mAudioItem; |
|
232 |
mAudioItem = NULL; |
|
233 |
} |
|
234 |
||
235 |
if (mTextItem) { |
|
236 |
mTextItem->setParent(NULL); |
|
237 |
delete mTextItem; |
|
238 |
mTextItem = NULL; |
|
239 |
} |
|
240 |
||
241 |
setHasText(false); |
|
242 |
setHasPixmap(false); |
|
243 |
repolish(); |
|
244 |
} |
|
245 |
||
246 |
//--------------------------------------------------------------- |
|
247 |
//UniViewerBodyWidget::sizeHint |
|
248 |
// @see header file |
|
249 |
//--------------------------------------------------------------- |
|
250 |
QSizeF UniViewerBodyWidget::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const |
|
251 |
{ |
|
252 |
QSizeF szHint = HbWidget::sizeHint(which, constraint); |
|
253 |
||
254 |
HbMainWindow *mainWindow = this->mainWindow(); |
|
255 |
if (!mainWindow) { |
|
256 |
return szHint; |
|
257 |
} |
|
258 |
||
259 |
qreal screenWidth = 0.0; |
|
260 |
qreal screenHeight = 0.0; |
|
261 |
qreal leftMargin = 0.0; |
|
262 |
qreal rightMargin = 0.0; |
|
263 |
qreal chromeHeight = 0.0; |
|
264 |
qreal toolbarHeight = 0.0; |
|
265 |
qreal iconSize = 0.0; |
|
266 |
qreal spacing = 0.0; |
|
267 |
qreal unitSize = HbDeviceProfile::profile(mPixmapItem).unitValue(); |
|
268 |
style()->parameter("hb-param-screen-width", screenWidth); |
|
269 |
style()->parameter("hb-param-screen-height", screenHeight); |
|
270 |
style()->parameter("hb-param-margin-gene-left", leftMargin); |
|
271 |
style()->parameter("hb-param-margin-gene-right", rightMargin); |
|
272 |
style()->parameter("hb-param-widget-chrome-height", chromeHeight); |
|
273 |
style()->parameter("hb-param-widget-toolbar-height", toolbarHeight); |
|
274 |
style()->parameter("hb-param-graphic-size-primary-large", iconSize); |
|
275 |
style()->parameter("hb-param-margin-gene-middle-vertical", spacing); |
|
276 |
||
277 |
qreal maxWidth = 0.0; |
|
278 |
qreal maxHeight = 0.0; |
|
279 |
||
280 |
// Calculate max height & max width. |
|
281 |
if (mainWindow->orientation() == Qt::Horizontal) { |
|
282 |
qreal temp; |
|
283 |
temp = screenWidth; |
|
284 |
screenWidth = screenHeight; |
|
285 |
screenHeight = temp; |
|
286 |
||
287 |
if (mPixmapItem && mHasText) { |
|
288 |
maxWidth = (screenWidth / 2) - leftMargin - unitSize; |
|
289 |
} |
|
290 |
else { |
|
291 |
maxWidth = screenWidth - leftMargin - rightMargin; |
|
292 |
} |
|
293 |
maxHeight = screenHeight - chromeHeight - toolbarHeight; |
|
294 |
||
295 |
if (mAudioItem) { |
|
296 |
mAudioItem->setStretched(true); |
|
297 |
} |
|
298 |
} |
|
299 |
else if (mainWindow->orientation() == Qt::Vertical) { |
|
300 |
maxWidth = screenWidth - leftMargin - rightMargin; |
|
301 |
maxHeight = screenHeight - chromeHeight - toolbarHeight; |
|
302 |
||
303 |
if (mAudioItem) { |
|
304 |
mAudioItem->setStretched(false); |
|
305 |
} |
|
306 |
} |
|
307 |
||
308 |
// Slide Counter |
|
309 |
QSizeF slideCounterSize(0, 0); |
|
310 |
if (mSlideCounter) { |
|
311 |
slideCounterSize = mSlideCounter->effectiveSizeHint(which, constraint); |
|
312 |
mSlideCounter->show(); |
|
313 |
} |
|
314 |
// Audio Item |
|
315 |
QSizeF audioSize(0, 0); |
|
316 |
if (mAudioItem) { |
|
317 |
audioSize = mAudioItem->effectiveSizeHint(which, constraint); |
|
318 |
mAudioItem->show(); |
|
319 |
} |
|
320 |
||
321 |
// Text Item |
|
322 |
QSizeF textSize(0, 0); |
|
323 |
if (mTextItem) { |
|
324 |
textSize = mTextItem->effectiveSizeHint(which, constraint); |
|
325 |
mTextItem->show(); |
|
326 |
} |
|
327 |
||
328 |
// Pixmap Item |
|
329 |
QSizeF pixmapSize(0, 0); |
|
330 |
if (mPixmapItem) { |
|
331 |
qreal imageWidth = mPixmapItem->icon().defaultSize().width(); |
|
332 |
qreal imageHeight = mPixmapItem->icon().defaultSize().height(); |
|
333 |
||
334 |
qreal widthToSet = 0.0; |
|
335 |
qreal heightToSet = 0.0; |
|
336 |
||
337 |
if (imageWidth < iconSize) { |
|
338 |
widthToSet = iconSize; |
|
339 |
heightToSet = iconSize; |
|
340 |
} |
|
341 |
else if (imageWidth <= maxWidth) { |
|
342 |
// resize not needed |
|
343 |
widthToSet = imageWidth; |
|
344 |
heightToSet = qMin(imageHeight, maxHeight); |
|
345 |
} |
|
346 |
else { |
|
347 |
// resize needed, keep aspect-ratio and resize |
|
348 |
widthToSet = maxWidth; |
|
349 |
heightToSet = maxWidth * (imageHeight / imageWidth); |
|
350 |
heightToSet = qMin(heightToSet, maxHeight); |
|
351 |
||
352 |
} |
|
353 |
if (heightToSet == maxHeight) { |
|
354 |
widthToSet = heightToSet * (imageWidth / imageHeight); |
|
355 |
} |
|
356 |
||
357 |
pixmapSize.setHeight(heightToSet); |
|
358 |
pixmapSize.setWidth(widthToSet); |
|
359 |
mPixmapItem->setPreferredSize(pixmapSize); |
|
360 |
mPixmapItem->show(); |
|
361 |
} |
|
362 |
||
363 |
// Calculate the size hint to be returned. |
|
364 |
szHint.setHeight(0); |
|
365 |
||
366 |
if (!slideCounterSize.isNull()) { |
|
367 |
szHint.rheight() += (slideCounterSize.height() + spacing); |
|
368 |
} |
|
369 |
if (!audioSize.isNull()) { |
|
370 |
szHint.rheight() += (audioSize.height() + spacing); |
|
371 |
} |
|
372 |
||
373 |
if (mainWindow->orientation() == Qt::Horizontal) { |
|
374 |
qreal remainingHeight = qMax(pixmapSize.height(), textSize.height()); |
|
375 |
if (remainingHeight > 0.0) { |
|
376 |
szHint.rheight() += (remainingHeight + spacing); |
|
377 |
} |
|
378 |
} |
|
379 |
else if (mainWindow->orientation() == Qt::Vertical) { |
|
380 |
if (!pixmapSize.isNull()) { |
|
381 |
szHint.rheight() += (pixmapSize.height() + spacing); |
|
382 |
} |
|
383 |
if (!textSize.isNull()) { |
|
384 |
szHint.rheight() += (textSize.height() + spacing); |
|
385 |
} |
|
386 |
} |
|
387 |
szHint.rheight() = qMax(maxHeight, szHint.height()); |
|
388 |
||
389 |
return szHint; |
|
390 |
} |
|
391 |
||
392 |
// EOF |