equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef XQAPPMGRDESKTOP_H |
|
19 #define XQAPPMGRDESKTOP_H |
|
20 |
|
21 #include <QVariant> |
|
22 |
|
23 class XQAiwRequest |
|
24 { |
|
25 public: |
|
26 inline void setArguments(QVariantList &fileList) {} |
|
27 inline bool send(QVariant &result) {return false;} |
|
28 inline int lastError() {return 1;} |
|
29 }; |
|
30 |
|
31 class XQApplicationManager |
|
32 { |
|
33 public: |
|
34 XQApplicationManager() : videoRequest(NULL) { } |
|
35 inline XQAiwRequest *create(const QString &service, const QString &operation, bool embedded = true) |
|
36 { |
|
37 videoRequest = new XQAiwRequest(); |
|
38 return videoRequest; |
|
39 } |
|
40 |
|
41 inline ~XQApplicationManager() {if (videoRequest) delete videoRequest;} |
|
42 |
|
43 private: |
|
44 // Owned |
|
45 XQAiwRequest *videoRequest; |
|
46 }; |
|
47 |
|
48 #endif // XQAPPMGRDESKTOP_H |
|