activityfw/afactivitylauncher/tsrc/t_afactivitylauncher/mocks/inc/afapplicationlauncher.h
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 AFAPPLICATIONLAUNCHER_H |
|
18 #define AFAPPLICATIONLAUNCHER_H |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 class RApaLsSession; |
|
23 class RWsSession; |
|
24 |
|
25 class TAfApplicationLauncher |
|
26 { |
|
27 |
|
28 public: |
|
29 TAfApplicationLauncher(RApaLsSession &apaLsSession, RWsSession &wsSession); |
|
30 |
|
31 public: |
|
32 TBool isRunning(TUid applicationId); |
|
33 void startApplicationL(TUid applicationId, const TDesC &uri); |
|
34 |
|
35 public: |
|
36 static TBool expectedIsRunningResult; |
|
37 |
|
38 static TInt lastStartAppId; |
|
39 static HBufC *lastStartUri; |
|
40 |
|
41 }; |
|
42 |
|
43 #endif // AFAPPLICATIONLAUNCHER_H |