equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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 "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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <XQConversions> |
|
19 #include <utf.h> |
|
20 #include <QScopedPointer> |
|
21 |
|
22 #include "cas60urlhandleradapter.h" |
|
23 #include "caurlhandler.h" |
|
24 #include "cainnerentry.h" |
|
25 |
|
26 int CaS60UrlHandlerAdapter::execute(CCaInnerEntry &innerEntry, const QString &commandName) |
|
27 { |
|
28 QScopedPointer<HBufC8> commandNameDesc8(XQConversions::qStringToS60Desc8(commandName)); |
|
29 TRAPD(result, |
|
30 static QScopedPointer<CCaUrlHandler> plugin(CCaUrlHandler::NewL()); |
|
31 plugin->HandleCommandL(innerEntry, commandNameDesc8->Des()); |
|
32 ); |
|
33 return result; |
|
34 } |
|