activityfw/activityserviceplugin/activitymanager_p.h
branchGCC_SURGE
changeset 105 e7325f632549
parent 81 5ef31a21fdd5
parent 104 9b022b1f357c
equal deleted inserted replaced
81:5ef31a21fdd5 105:e7325f632549
     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:
       
    15 *
       
    16 */
       
    17 #ifndef ACTIVITYMANAGER_P_H
       
    18 #define ACTIVITYMANAGER_P_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <QVariant>
       
    22 #include <QList>
       
    23 #include <QSize>
       
    24 #include "applicationlauncher.h"
       
    25 
       
    26 class ActivityManager;
       
    27 class HsActivityDbClient;
       
    28 
       
    29 class ActivityManagerPrivate : public QObject
       
    30 {
       
    31 
       
    32     Q_OBJECT
       
    33 
       
    34 public:
       
    35     ActivityManagerPrivate(ActivityManager *q);
       
    36     ~ActivityManagerPrivate();
       
    37 
       
    38 public slots:
       
    39     QList<QVariantHash> activitiesList();
       
    40     void launchActivity(const QString &uri);
       
    41     void launchActivity(int applicationId, const QString &activityId);
       
    42     void getThumbnail(QSize resolution,const QString &thumbnailPath, void *data);
       
    43 
       
    44 private:
       
    45     ActivityManager *q_ptr;
       
    46     HsActivityDbClient *mServerClient;
       
    47 };
       
    48 
       
    49 #endif // ACTIVITYMANAGER_P_H