|
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 * Stub version of epoc32\include\mw\xqrequestinfo.h to be used in desktop build. |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef XQREQUESTINFO_H |
|
21 #define XQREQUESTINFO_H |
|
22 |
|
23 #include <QVariant> |
|
24 #include <QStringList> |
|
25 #include <QSet> |
|
26 |
|
27 |
|
28 class XQRequestInfo |
|
29 { |
|
30 public: |
|
31 XQRequestInfo() {} |
|
32 virtual ~XQRequestInfo() {} |
|
33 |
|
34 public: |
|
35 |
|
36 bool isValid() const {return true;} |
|
37 |
|
38 void setEmbedded(bool on) {} |
|
39 bool isEmbedded() const {return false;} |
|
40 void setBackground(bool on) {} |
|
41 bool isBackground() const {return false;} |
|
42 bool isSynchronous() const {return false;} |
|
43 void setForeground(bool on) {} |
|
44 bool isForeground() const {return false;} |
|
45 |
|
46 quint32 clientSecureId() const {return 0;} |
|
47 quint32 clientVendorId() const {return 0;} |
|
48 QSet<int> clientCapabilities() const {return QSet<int>();} |
|
49 int id() const {return 0;} |
|
50 |
|
51 void setInfo(const QString &key, const QVariant &value) {} |
|
52 QVariant info(const QString &key) const {return QVariant();} |
|
53 QStringList infoKeys() const {return QStringList();} |
|
54 |
|
55 }; |
|
56 |
|
57 #endif |