activityfw/activityserviceplugin/applicationlauncher.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 APPLICATIONLAUNCHER_H
       
    18 #define APPLICATIONLAUNCHER_H
       
    19 
       
    20 class ApplicationLauncherPrivate;
       
    21 
       
    22 #include <QString>
       
    23 
       
    24 class ApplicationLauncher
       
    25 {
       
    26 
       
    27 public:
       
    28     ApplicationLauncher();
       
    29     ~ApplicationLauncher();
       
    30 
       
    31 public:
       
    32     bool isRunning(int applicationId);
       
    33     void startApplication(int applicationId, const QString &activityId);
       
    34     void bringToForeground(int applicationId);
       
    35 
       
    36 private:
       
    37     ApplicationLauncherPrivate *d_ptr;
       
    38 
       
    39 };
       
    40 
       
    41 #endif // APPLICATIONLAUNCHER_H