videoplayerapp/videoplayerengine/tsrc/testvideoplayerengine/stub/inc/afactivitystorage.h
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: stub AfActivityStorage |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 2 % |
|
19 |
|
20 #ifndef AFACTIVITYSTORAGE_H |
|
21 #define AFACTIVITYSTORAGE_H |
|
22 |
|
23 |
|
24 #include <qstring.h> |
|
25 #include <qstringlist.h> |
|
26 #include <qvariant.h> |
|
27 |
|
28 class AfActivityStorage |
|
29 { |
|
30 |
|
31 public: |
|
32 AfActivityStorage(); |
|
33 virtual ~AfActivityStorage(); |
|
34 |
|
35 bool saveActivity(const QString &activityId, const QVariant &activityData, const QVariantHash &metadata); |
|
36 |
|
37 QVariant activityData(const QString &activityId) const; |
|
38 |
|
39 bool removeActivity (const QString &activityId); |
|
40 |
|
41 static QVariant mDataToReturn; |
|
42 |
|
43 static int mActivityCount; |
|
44 |
|
45 static QString mLastHandledActivity; |
|
46 |
|
47 }; |
|
48 |
|
49 #endif // AFACTIVITYSTORAGE_H |
|
50 |