equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "initapparcserver2.h" |
|
17 #include "startuputilprovider.h" |
|
18 |
|
19 |
|
20 // |
|
21 // Standard Symbian factory functions/destructor |
|
22 // |
|
23 |
|
24 CInitAppArcServer* CInitAppArcServer::NewL(CStartupUtilProvider& aProvider) |
|
25 { |
|
26 CInitAppArcServer* self = NewLC(aProvider); |
|
27 CleanupStack::Pop(self); |
|
28 return self; |
|
29 } |
|
30 |
|
31 CInitAppArcServer* CInitAppArcServer::NewLC(CStartupUtilProvider& aProvider) |
|
32 { |
|
33 CInitAppArcServer* self = new (ELeave) CInitAppArcServer(aProvider); |
|
34 CleanupStack::PushL(self); |
|
35 return self; |
|
36 } |
|
37 |
|
38 CInitAppArcServer::CInitAppArcServer(CStartupUtilProvider& aProvider) |
|
39 :iProvider(aProvider) |
|
40 { |
|
41 } |
|
42 |
|
43 // |
|
44 // Public member functions |
|
45 // |
|
46 |
|
47 |
|
48 /** Implementation of MStartupCommand interface. |
|
49 |
|
50 @see MStartupCommand. |
|
51 */ |
|
52 void CInitAppArcServer::Execute(TRequestStatus& aStatus) |
|
53 { |
|
54 iProvider.StartSafe().InitAppArcServer(aStatus); |
|
55 } |
|
56 |
|
57 void CInitAppArcServer::Release() |
|
58 { |
|
59 delete this; |
|
60 } |