equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 |
|
17 #ifndef __AMASTARTER_H__ |
|
18 #define __AMASTARTER_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 #include "StartupCommand.h" |
|
23 |
|
24 class CSsmLoadAmaStart; |
|
25 |
|
26 /* |
|
27 Provides mechanism for starting AMAs from a DSC |
|
28 @internalComponent |
|
29 @deprecated |
|
30 */ |
|
31 class CAmaStarter : public CBase, public MStartupCommand |
|
32 { |
|
33 public: |
|
34 static CAmaStarter* NewL(const TUid aDscId); |
|
35 |
|
36 void Execute(TRequestStatus& aCallerStatus); |
|
37 |
|
38 ~CAmaStarter(); |
|
39 |
|
40 void Release(); |
|
41 |
|
42 private: |
|
43 CAmaStarter(TUid aDscId); |
|
44 void DoExecuteL(); |
|
45 void LoadAmaStartLibraryL(); |
|
46 |
|
47 private: |
|
48 CSsmLoadAmaStart* iAmaStart; |
|
49 RLibrary iAmaStartLib; |
|
50 TUid iDscId; |
|
51 }; |
|
52 |
|
53 #endif // __AMASTARTER_H__ |