2
|
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: This file contains capsmodifier implementation.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
// INCLUDE FILES
|
|
19 |
#include <e32base.h>
|
|
20 |
#include <e32svr.h>
|
|
21 |
#include <StifTestInterface.h>
|
|
22 |
// EXTERNAL DATA STRUCTURES
|
|
23 |
|
|
24 |
// EXTERNAL FUNCTION PROTOTYPES
|
|
25 |
|
|
26 |
// ================= OTHER EXPORTED FUNCTIONS =================================
|
|
27 |
|
|
28 |
/*
|
|
29 |
-------------------------------------------------------------------------------
|
|
30 |
|
|
31 |
Class: -
|
|
32 |
|
|
33 |
Method: E32Main
|
|
34 |
|
|
35 |
Description:
|
|
36 |
|
|
37 |
Parameters: None
|
|
38 |
|
|
39 |
Return Values: TInt: Symbian error code
|
|
40 |
|
|
41 |
Errors/Exceptions: None
|
|
42 |
|
|
43 |
Status: Draft
|
|
44 |
|
|
45 |
-------------------------------------------------------------------------------
|
|
46 |
*/
|
|
47 |
GLDEF_C TInt E32Main()
|
|
48 |
{
|
|
49 |
_LIT( KProcessMsgStart, "New process starting" );
|
|
50 |
RDebug::Print( KProcessMsgStart );
|
|
51 |
|
|
52 |
|
|
53 |
// This starts a new session that get capabilites that is used in
|
|
54 |
// CapsModifierXXX_exe.mmp file.
|
|
55 |
TInt r = StartSession();
|
|
56 |
|
|
57 |
_LIT( KProcessMsgEnd, "New process ends" );
|
|
58 |
RDebug::Print( KProcessMsgEnd );
|
|
59 |
|
|
60 |
return r;
|
|
61 |
|
|
62 |
}
|
|
63 |
|
|
64 |
// End of File
|