--- a/activityfw/activityserviceplugin/inc/activitymanager.h Fri Jun 11 16:13:51 2010 +0300
+++ b/activityfw/activityserviceplugin/inc/activitymanager.h Thu Jun 24 16:18:29 2010 +0300
@@ -23,7 +23,7 @@
#include <QPixmap>
#include <QSize>
-class ActivityManagerPrivate;
+#include <afstorageclient.h>
class ActivityManager : public QObject
{
@@ -31,7 +31,7 @@
Q_OBJECT
public:
- ActivityManager(QObject *parent = 0);
+ ActivityManager(const QSharedPointer<AfStorageClient> &serviceProvider, QObject *parent = 0);
~ActivityManager();
public slots:
@@ -46,9 +46,11 @@
void dataChanged();
private:
- ActivityManagerPrivate *d_ptr;
+ void launchActivity(const QVariantHash& activity);
+ QUrl activityToUri(const QVariantHash& activity) const;
- friend class ActivityManagerPrivate;
+private:
+ QSharedPointer<AfStorageClient> mServiceProvider;
};
#endif // ACTIVITYMANAGER_H