equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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 * Executable module to start the process and load the DosSrv.dll |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "dosserver.h" |
|
21 |
|
22 // |
|
23 // --------------------------------------------------------- |
|
24 // SetSignal |
|
25 // --------------------------------------------------------- |
|
26 // |
|
27 |
|
28 TInt SetSignal( CDosServer::TSignal& aSignal ) |
|
29 { |
|
30 TBuf<50> buf; |
|
31 User::CommandLine( buf ); |
|
32 return aSignal.Set( buf ); |
|
33 } |
|
34 |
|
35 // |
|
36 // --------------------------------------------------------- |
|
37 // E32Main |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 |
|
41 GLDEF_C TInt E32Main() |
|
42 { |
|
43 CDosServer::TSignal signal; |
|
44 TInt err = SetSignal( signal ); |
|
45 |
|
46 if ( !err ) |
|
47 { |
|
48 err = CDosServer::ThreadStart( signal ); |
|
49 } |
|
50 |
|
51 return err; |
|
52 } |