102
|
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 "aflauncher.h"
|
|
19 |
#include "applicationlauncher_p.h"
|
|
20 |
|
|
21 |
AfLauncher::AfLauncher() : d_ptr(new ApplicationLauncherPrivate())
|
|
22 |
{
|
|
23 |
}
|
|
24 |
|
|
25 |
AfLauncher::~AfLauncher()
|
|
26 |
{
|
|
27 |
delete d_ptr;
|
|
28 |
}
|
|
29 |
|
|
30 |
bool AfLauncher::isRunning(int applicationId)
|
|
31 |
{
|
|
32 |
return d_ptr->isRunning(applicationId);
|
|
33 |
}
|
|
34 |
|
|
35 |
void AfLauncher::startApplication(int applicationId, const QUrl &uri)
|
|
36 |
{
|
|
37 |
d_ptr->startApplication(applicationId, uri);
|
|
38 |
}
|
|
39 |
|
|
40 |
void AfLauncher::bringToForeground(int applicationId)
|
|
41 |
{
|
|
42 |
d_ptr->bringToForeground(applicationId);
|
|
43 |
}
|