activityfw/activityserviceplugin/inc/applicationlauncher.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:37:10 +0300
changeset 104 9b022b1f357c
parent 80 397d00875918
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* 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 APPLICATIONLAUNCHER_H
#define APPLICATIONLAUNCHER_H

class ApplicationLauncherPrivate;

#include <QString>
#include <QUrl>

class ApplicationLauncher
{

public:
    ApplicationLauncher();
    ~ApplicationLauncher();

public:
    bool isRunning(int applicationId);
    void startApplication(int applicationId, const QUrl &uri);
    void bringToForeground(int applicationId);

private:
    ApplicationLauncherPrivate *d_ptr;

};

#endif // APPLICATIONLAUNCHER_H