equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 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 the License "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". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32std.h> |
23 #include <e32std.h> |
24 #include <e32base.h> |
24 #include <e32base.h> |
25 #include <f32file.h> |
25 #include <f32file.h> |
|
26 #include <apgnotif.h> |
26 #include "WidgetRegistryLog.h" |
27 #include "WidgetRegistryLog.h" |
27 |
28 |
28 // FORWARD DECLARATION |
29 // FORWARD DECLARATION |
29 class CWidgetRegistry; |
30 class CWidgetRegistry; |
30 |
31 |
31 /* |
32 /* |
32 * Inherited CActive, performs a asynchronous conversion operation |
33 * Inherited CActive, performs a asynchronous conversion operation |
33 * |
34 * |
34 * @since 3.1 |
35 * @since 3.1 |
35 */ |
36 */ |
36 class CWidgetMMCHandler : public CActive |
37 class CWidgetMMCHandler : public CActive, public MApaAppListServObserver |
37 { |
38 { |
38 public: |
39 public: |
39 |
40 |
40 static CWidgetMMCHandler* NewL( CWidgetRegistry& aRegistry, RFs& aFs ); |
41 static CWidgetMMCHandler* NewL( CWidgetRegistry& aRegistry, RFs& aFs ); |
41 |
42 |
42 virtual ~CWidgetMMCHandler(); |
43 virtual ~CWidgetMMCHandler(); |
43 |
44 |
44 void Start(); |
45 void Start(); |
|
46 |
|
47 //from MApaAppListServObserver |
|
48 void HandleAppListEvent(TInt aEvent); |
45 |
49 |
46 protected: |
50 protected: |
47 |
51 |
48 void RunL(); |
52 void RunL(); |
49 |
53 |
66 |
70 |
67 CWidgetRegistry* iRegistry; // not owned |
71 CWidgetRegistry* iRegistry; // not owned |
68 RFs iFs; |
72 RFs iFs; |
69 |
73 |
70 TInt iDriveFlags; |
74 TInt iDriveFlags; |
|
75 |
|
76 TInt iDeltaDriveFlags; |
|
77 |
|
78 CApaAppListNotifier* iApaAppListNotifier; |
71 |
79 |
72 public: |
80 public: |
73 |
81 |
74 LOG_MEMBER_VARS |
82 LOG_MEMBER_VARS |
75 }; |
83 }; |