--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/activityfw/activityserviceplugin/src/afstorageproxy.cpp Fri Aug 06 13:40:46 2010 +0300
@@ -0,0 +1,93 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#include "afstorageproxy.h"
+#include "afstorageproxy_p.h"
+
+AfStorageProxy::AfStorageProxy(QObject *parent) : QObject (parent), d_ptr(new AfStorageProxyPrivate(this))
+{
+}
+
+AfStorageProxy::~AfStorageProxy()
+{
+ delete d_ptr;
+}
+
+bool AfStorageProxy::addActivity(int applicationId, const QString &activityId, const QVariant &activityData, const QVariantHash &metadata, const QPixmap &screenshot)
+{
+ return d_ptr->addActivity(applicationId, activityId, activityData, metadata, screenshot);
+}
+
+bool AfStorageProxy::updateActivity(int applicationId, const QString &activityId, const QVariant &activityData, const QVariantHash &metadata, const QPixmap &screenshot)
+{
+ return d_ptr->updateActivity(applicationId, activityId, activityData, metadata, screenshot);
+}
+
+bool AfStorageProxy::saveActivity(int applicationId, const QString &activityId, const QVariant &activityData, const QVariantHash &metadata, const QPixmap &screenshot)
+{
+ return d_ptr->saveActivity(applicationId, activityId, activityData, metadata, screenshot);
+}
+
+bool AfStorageProxy::removeActivity(int applicationId, const QString &activityId)
+{
+ return d_ptr->removeActivity(applicationId, activityId);
+}
+
+bool AfStorageProxy::removeApplicationActivities(int applicationId)
+{
+ return d_ptr->removeApplicationActivities(applicationId);
+}
+
+bool AfStorageProxy::activities(QList<QVariantHash> &list)
+{
+ return d_ptr->activities(list);
+}
+
+bool AfStorageProxy::applicationActivities(QStringList &list, int applicationId)
+{
+ return d_ptr->applicationActivities(list, applicationId);
+}
+
+bool AfStorageProxy::activityData(QVariant &data, int applicationId, const QString &activityId)
+{
+ return d_ptr->activityData(data, applicationId, activityId);
+}
+
+bool AfStorageProxy::activityMetaData(QVariantHash &metadata, int applicationId, const QString &activityId)
+{
+ return d_ptr->activityMetaData(metadata, applicationId, activityId);
+}
+
+bool AfStorageProxy::waitActivity()
+{
+ return d_ptr->waitActivity();
+}
+
+bool AfStorageProxy::launchActivity(int applicationId, const QString &activityUri)
+{
+ return d_ptr->launchActivity(applicationId, activityUri);
+}
+
+bool AfStorageProxy::getThumbnail(const QSize &size, const QString &imagePath, void *userData)
+{
+ return d_ptr->getThumbnail(size, imagePath, userData);
+}
+
+bool AfStorageProxy::notifyDataChange()
+{
+ return d_ptr->notifyDataChange();
+}