equal
deleted
inserted
replaced
|
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: HsRuntime provider manifest private implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HSRUNTIMEPROVIDERMANIFEST_P_H |
|
20 #define HSRUNTIMEPROVIDERMANIFEST_P_H |
|
21 |
|
22 #include <QDomElement> |
|
23 |
|
24 #include "hsiruntimeprovider.h" |
|
25 |
|
26 class HsRuntimeProviderManifest; |
|
27 |
|
28 class HsRuntimeProviderManifestPrivate : public QObject |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 HsRuntimeProviderManifestPrivate(HsRuntimeProviderManifest* aPublic); |
|
34 ~HsRuntimeProviderManifestPrivate(); |
|
35 |
|
36 QList<HsRuntimeToken> runtimes() const; |
|
37 bool loadFromXml(const QString& aFileName); |
|
38 |
|
39 private: |
|
40 QString parseAttribute(QDomElement& aElement, const QString& aAttributeName, bool aIsRequired = true) const; |
|
41 Q_DISABLE_COPY(HsRuntimeProviderManifestPrivate) |
|
42 |
|
43 public: |
|
44 |
|
45 HsRuntimeProviderManifest* mQ; |
|
46 QList<HsRuntimeToken> mRuntimeTokens; |
|
47 bool mLoadOnQuery; |
|
48 |
|
49 }; |
|
50 |
|
51 #endif |