equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 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 "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". |
85 FUNC_LOG; |
85 FUNC_LOG; |
86 |
86 |
87 return iMemoryMonitor->iWs; |
87 return iMemoryMonitor->iWs; |
88 } |
88 } |
89 |
89 |
90 |
90 //----------------------------------------------------------------------------- |
|
91 // Function: AppId |
|
92 // Function returns the UID3 of the application which implements the |
|
93 // plugin |
|
94 //----------------------------------------------------------------------------- |
|
95 // |
|
96 EXPORT_C const TUid COomMonitorPlugin::AppId() const |
|
97 { |
|
98 return KNullUid; |
|
99 } |
91 |
100 |
92 EXPORT_C void COomMonitorPluginV2::FreeRam() |
101 EXPORT_C void COomMonitorPluginV2::FreeRam() |
93 { |
102 { |
94 // Note that OomMonitorV2 will not call this version of the function |
103 // Note that OomMonitorV2 will not call this version of the function |
95 // so it does not need to be implemented in derived classes. |
104 // so it does not need to be implemented in derived classes. |
135 ws.SendEventToWindowGroup(wgId, event); |
144 ws.SendEventToWindowGroup(wgId, event); |
136 } |
145 } |
137 } |
146 } |
138 while (wgId>0); |
147 while (wgId>0); |
139 } |
148 } |
|
149 |
|
150 //----------------------------------------------------------------------------- |
|
151 // Function: AppId |
|
152 // Function returns the UID3 of the application which implements the |
|
153 // plugin |
|
154 //----------------------------------------------------------------------------- |
|
155 // |
|
156 const TUid CAppOomMonitorPlugin::AppId() const |
|
157 { |
|
158 return iAppUid; |
|
159 } |
|
160 |