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: State provider manifest. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HSSTATEPROVIDERMANIFEST_H |
|
20 #define HSSTATEPROVIDERMANIFEST_H |
|
21 |
|
22 #include <QObject> |
|
23 |
|
24 #include "hsstatemodel_global.h" |
|
25 #include "hsistateprovider.h" |
|
26 |
|
27 class HsStateProviderManifestPrivate; |
|
28 |
|
29 class HSSTATEMODEL_EXPORT HsStateProviderManifest : public QObject |
|
30 { |
|
31 Q_OBJECT |
|
32 |
|
33 public: |
|
34 HsStateProviderManifest(QObject* aParent = 0); |
|
35 virtual ~HsStateProviderManifest(); |
|
36 |
|
37 QList<HsStateToken> states() const; |
|
38 bool loadOnQuery() const; |
|
39 bool loadFromXml(const QString& aFileName); |
|
40 |
|
41 private: |
|
42 Q_DISABLE_COPY(HsStateProviderManifest) |
|
43 |
|
44 private: |
|
45 HsStateProviderManifestPrivate* mD; |
|
46 friend class HsStateProviderManifestPrivate; |
|
47 |
|
48 }; |
|
49 |
|
50 #endif |