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 * Stub version of epoc32\include\platform\mw\afactivitystorage.h to be used in desktop build. |
|
17 * |
|
18 */ |
|
19 #ifndef AFACTIVITYSTORAGE_H |
|
20 #define AFACTIVITYSTORAGE_H |
|
21 |
|
22 |
|
23 #include <QString> |
|
24 #include <QStringList> |
|
25 #include <QVariant> |
|
26 #include <QScopedPointer> |
|
27 |
|
28 #include "afactivities_global.h" |
|
29 |
|
30 class AfActivityStorage : public QObject |
|
31 { |
|
32 Q_OBJECT |
|
33 |
|
34 public: |
|
35 AfActivityStorage(QObject *parent = 0) {} |
|
36 virtual ~AfActivityStorage() {} |
|
37 |
|
38 public slots: |
|
39 bool saveActivity(const QString &activityId, const QVariant &activityData, const QVariantHash &metadata) {return true;} |
|
40 bool removeActivity(const QString &activityId) {return true;} |
|
41 |
|
42 QStringList allActivities() const {return QStringList();} |
|
43 |
|
44 QVariant activityData(const QString &activityId) const {return QVariant();} |
|
45 QVariantHash activityMetaData(const QString &activityId) const {return QVariantHash();} |
|
46 |
|
47 private: |
|
48 Q_DISABLE_COPY(AfActivityStorage) |
|
49 |
|
50 }; |
|
51 |
|
52 #endif // AFACTIVITYSTORAGE_H |