activityfw/activityserviceplugin/inc/aflauncher.h
author hgs
Fri, 09 Jul 2010 14:19:08 +0300
changeset 102 8b8b34fa9751
permissions -rw-r--r--
201027

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

class ApplicationLauncherPrivate;

#include <QString>
#include <QUrl>

class AfLauncher
{

public:
    AfLauncher();
    ~AfLauncher();

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

private:
    ApplicationLauncherPrivate *d_ptr;

};

#endif // AFLAUNCHER_H