equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004, 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 the License "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: Implementation of OOM memory plugin. Registers Widget UID with |
|
15 * the framework to receive OOM notifications. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include <ecom/ecom.h> |
|
21 #include <ecom/implementationproxy.h> |
|
22 #include <oommonitorplugin.h> |
|
23 |
|
24 TAny* CreateWidgetOOMPlugin() |
|
25 { |
|
26 const TUid KWidgetAppUid = { 0x10282822 }; |
|
27 return CAppOomMonitorPlugin::NewL(KWidgetAppUid); |
|
28 } |
|
29 |
|
30 const TImplementationProxy ImplementationTable[] = |
|
31 { |
|
32 {{0x10282855}, ::CreateWidgetOOMPlugin} |
|
33 }; |
|
34 |
|
35 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
36 { |
|
37 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy) ; |
|
38 return ImplementationTable; |
|
39 } |