activityfw/activityserviceplugin/applicationlauncher.cpp
changeset 61 8e5041d13c84
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
       
     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 
       
    18 #include "applicationlauncher.h"
       
    19 #include "applicationlauncher_p.h"
       
    20 
       
    21 ApplicationLauncher::ApplicationLauncher() : d_ptr(new ApplicationLauncherPrivate())
       
    22 {
       
    23 }
       
    24 
       
    25 ApplicationLauncher::~ApplicationLauncher()
       
    26 {
       
    27     delete d_ptr;
       
    28 }
       
    29 
       
    30 bool ApplicationLauncher::isRunning(int applicationId)
       
    31 {
       
    32     return d_ptr->isRunning(applicationId);
       
    33 }
       
    34 
       
    35 void ApplicationLauncher::startApplication(int applicationId, const QString &activityId)
       
    36 {
       
    37     d_ptr->startApplication(applicationId, activityId);
       
    38 }
       
    39 
       
    40 void ApplicationLauncher::bringToForeground(int applicationId)
       
    41 {
       
    42     d_ptr->bringToForeground(applicationId);
       
    43 }