|
1 /* |
|
2 * Copyright (c) 2008 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: Creates info objects asynchronously |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "appmngr2infomaker.h" // CAppMngr2InfoMaker |
|
20 #include "appmngr2infomakerobserver.h" // MAppMngr2InfoMakerObserver |
|
21 #include <appmngr2runtime.h> // CAppMngr2Runtime |
|
22 |
|
23 |
|
24 // ======== MEMBER FUNCTIONS ======== |
|
25 |
|
26 // --------------------------------------------------------------------------- |
|
27 // CAppMngr2InfoMaker::CAppMngr2InfoMaker() |
|
28 // --------------------------------------------------------------------------- |
|
29 // |
|
30 CAppMngr2InfoMaker::CAppMngr2InfoMaker( CAppMngr2Runtime& aPlugin, |
|
31 MAppMngr2InfoMakerObserver& aObserver, RFs& aFs ) : |
|
32 CActive( CActive::EPriorityStandard ), iPlugin( aPlugin ), iObserver( aObserver ), |
|
33 iFs( aFs ) |
|
34 { |
|
35 CActiveScheduler::Add( this ); |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // CAppMngr2InfoMaker::~CAppMngr2InfoMaker() |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 CAppMngr2InfoMaker::~CAppMngr2InfoMaker() |
|
43 { |
|
44 // derived classes must call Cancel() |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CAppMngr2InfoMaker::RuntimeUid() |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 const TUid CAppMngr2InfoMaker::RuntimeUid() const |
|
52 { |
|
53 return iPlugin.RuntimeUid(); |
|
54 } |
|
55 |