author | Maciej Seroka <maciejs@symbian.org> |
Fri, 27 Nov 2009 12:22:12 +0000 | |
changeset 793 | 0c32c669a39d |
child 872 | 17498133d9ad |
permissions | -rw-r--r-- |
793
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of the License "Symbian Foundation License v1.0" |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
7 |
// |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
10 |
// |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
12 |
// |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
14 |
// |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
15 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
16 |
#ifndef __APSTART_H |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
17 |
#define __APSTART_H |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
18 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
19 |
#include <apgcli.h> |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
20 |
#include <apastarter.h> |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
21 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
22 |
/** |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
23 |
Start applications using RApaLsSession. |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
24 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
25 |
@internalTechnology |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
26 |
@prototype |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
27 |
*/ |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
28 |
NONSHARABLE_CLASS(CApaAppStart) : public CApaStarter |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
29 |
{ |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
30 |
public: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
31 |
IMPORT_C static CApaAppStart* NewL(); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
32 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
33 |
//from CBase |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
34 |
~CApaAppStart(); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
35 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
36 |
//from CApaStarter |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
37 |
void WaitForApparcToInitialiseL(); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
38 |
void StartAppL(const TDesC& aFileName, const TDesC& aArgs, TBool aViewLess, TBool aStartInBackground, TThreadId& aThreadId); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
39 |
void StartAppL(const TDesC& aFileName, const TDesC& aArgs, TBool aViewLess, TBool aStartInBackground, TThreadId& aThreadId, TRequestStatus& aRequestStatusForRendezvous); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
40 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
41 |
private: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
42 |
CApaAppStart(); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
43 |
void ConstructL(); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
44 |
static void SetupCommandLineL(CApaCommandLine& aCmdLine, const TDesC& aFileName, const TDesC8& aArgs, TBool aViewLess, TBool aStartInBackground); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
45 |
void DoStartAppL(const TDesC &aFileName, const TDesC &aArgs, TBool aViewLess, TBool aStartInBackground, TThreadId& aThreadId, TRequestStatus* aRequestStatusForRendezvous); |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
46 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
47 |
private: |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
48 |
RApaLsSession iApaLsSession; |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
49 |
}; |
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
50 |
|
0c32c669a39d
Added new smoke test for phone languages
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
51 |
#endif |