|
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: The client / server classes allowing clients to make requests to OOM monitor |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GOOMMONITORCLIENTSERVER_H |
|
20 #define GOOMMONITORCLIENTSERVER_H |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 enum TGOomMonitorClientPanic |
|
25 { |
|
26 EPanicIllegalFunction, |
|
27 EPanicRequestActive |
|
28 }; |
|
29 |
|
30 void PanicClient(const RMessagePtr2& aMessage,TGOomMonitorClientPanic aPanic); |
|
31 |
|
32 _LIT(KGraphicsMemoryMonitorServerName, "GOomMonitorServer"); |
|
33 |
|
34 enum TGOomMonitorCmd |
|
35 { |
|
36 EGOomMonitorRequestFreeMemory, |
|
37 EGOomMonitorCancelRequestFreeMemory, |
|
38 EGOomMonitorThisAppIsNotExiting, |
|
39 EGOomMonitorRequestOptionalRam, |
|
40 EGOomMonitorSetPriorityBusy, |
|
41 EGOomMonitorSetPriorityNormal, |
|
42 EGOomMonitorSetPriorityHigh, |
|
43 EGoomMonitorAppAboutToStart, |
|
44 EGoomMonitorAppUsesAbsoluteMemTargets |
|
45 }; |
|
46 |
|
47 #endif // GOOMMONITORCLIENTSERVER_H |