activityfw/activityserviceplugin/s60/inc/activitydatabase_p.h
author hgs
Mon, 24 May 2010 20:50:46 +0300
changeset 95 c739008478cc
parent 94 dbb8300717f7
permissions -rw-r--r--
201019_02

/*
* 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:
*
*/
#ifndef ACTIVITYDATABASE_P_H
#define ACTIVITYDATABASE_P_H

#include <QVariant>
#include <QList>
#include <hsactivitydbclient.h>
class ActivityDatabasePrivate
{

public:
    ActivityDatabasePrivate();
    ~ActivityDatabasePrivate();

public:
    void saveActivity(const QString &applicationName, const QString &activityName, const QVariantHash &activityMetadata);
    void deleteActivity(const QString &applicationName, const QString &activityName);
    void deleteApplicationActivities(const QString &applicationName);
    QList<QVariantHash> allActivitiesList();
    QList<QVariantHash> applicationActivitiesList(const QString &applicationName);
    QString requestedActivityName(const QString &applicationName);
    void setActivityRequestFlag(const QString &applicationName, const QString &activityName);
    void clearActivityRequestFlag(const QString &applicationName, const QString &activityName);

private:
    HsActivityDbClient mClient;
};

#endif // ACTIVITYDATABASE_P_H