equal
deleted
inserted
replaced
|
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 AFLAUNCHER_H |
|
18 #define AFLAUNCHER_H |
|
19 |
|
20 class ApplicationLauncherPrivate; |
|
21 |
|
22 #include <QString> |
|
23 #include <QUrl> |
|
24 |
|
25 class AfLauncher |
|
26 { |
|
27 |
|
28 public: |
|
29 AfLauncher(); |
|
30 ~AfLauncher(); |
|
31 |
|
32 public: |
|
33 bool isRunning(int applicationId); |
|
34 void startApplication(int applicationId, const QUrl &uri); |
|
35 void bringToForeground(int applicationId); |
|
36 |
|
37 private: |
|
38 ApplicationLauncherPrivate *d_ptr; |
|
39 |
|
40 }; |
|
41 |
|
42 #endif // AFLAUNCHER_H |