equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
16 */ |
16 */ |
17 |
17 |
18 #include <e32base.h> |
18 #include <e32base.h> |
19 #include <e32test.h> |
19 #include <e32test.h> |
20 #include "transfersrv.h" |
20 #include "transfersrv.h" |
|
21 #include "OstTraceDefinitions.h" |
|
22 #ifdef OST_TRACE_COMPILER_IN_USE |
|
23 #include "transfersrvmainTraces.h" |
|
24 #endif |
21 #include "transferserver.h" |
25 #include "transferserver.h" |
22 |
26 |
23 static void RunServerL(); |
27 static void RunServerL(); |
24 |
28 |
25 |
29 |
66 // |
70 // |
67 RProcess::Rendezvous(KErrNone); |
71 RProcess::Rendezvous(KErrNone); |
68 |
72 |
69 // |
73 // |
70 // Ready to run |
74 // Ready to run |
71 RDebug::Printf(">>>CActiveScheduler::Start"); |
75 OstTrace0(TRACE_NORMAL, RUNSERVERL_RUNSERVERL, ">>>CActiveScheduler::Start"); |
72 CActiveScheduler::Start(); |
76 CActiveScheduler::Start(); |
73 RDebug::Printf("<<<CActiveScheduler::Start"); |
77 OstTrace0(TRACE_NORMAL, RUNSERVERL_RUNSERVERL_DUP01, "<<<CActiveScheduler::Start"); |
74 test.End(); |
78 test.End(); |
75 test.Close(); |
79 test.Close(); |
76 |
80 |
77 // |
81 // |
78 // Cleanup the server and scheduler |
82 // Cleanup the server and scheduler |
79 RDebug::Printf("tranfermain exit 1"); |
83 OstTrace0(TRACE_NORMAL, RUNSERVERL_RUNSERVERL_DUP02, "tranfermain exit 1"); |
80 CleanupStack::PopAndDestroy(2, scheduler); |
84 CleanupStack::PopAndDestroy(2, scheduler); |
81 RDebug::Printf("tranfermain exit 2"); |
85 OstTrace0(TRACE_NORMAL, RUNSERVERL_RUNSERVERL_DUP03, "tranfermain exit 2"); |
82 } |
86 } |
83 |
87 |
84 // |
88 // |
85 // End of file |
89 // End of file |