equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 #ifndef RUNNINGAPPGLOBALS_H |
|
18 #define RUNNINGAPPGLOBALS_H |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 _LIT(KRunningAppServerName, "hsrunningappmonitor"); |
|
23 _LIT(KTsServerReadySemaphore, "TaskSwitcherReadySemaphore"); |
|
24 const TUid KRunningAppServerUid = {0x200267B0}; |
|
25 const TInt KRequestDataSizeOffset(0); |
|
26 const TInt KRequestDataBufferOffset(0); |
|
27 |
|
28 enum RunningAppCmd { |
|
29 GetRunningAppInfo =0, |
|
30 SubscribeRunningAppChanges, |
|
31 UpdateScreenshot, |
|
32 FlushData, |
|
33 CancelSubscribeRunningAppChanges, |
|
34 RegisterScreenshotMessage, |
|
35 UnregisterScreenshotMessage, |
|
36 VisibilityChange, |
|
37 OpenTaskMessage, |
|
38 CloseTaskMessage, |
|
39 WindowGroupToBackgroundMessage, |
|
40 }; |
|
41 |
|
42 enum UpdatePriority { |
|
43 Low = 0, |
|
44 Normal, |
|
45 High |
|
46 }; |
|
47 |
|
48 enum Visibility { |
|
49 Invisible =0, |
|
50 Visible |
|
51 }; |
|
52 |
|
53 enum ScreenshotMessageOffsets { |
|
54 ScreenshotHandle = 0, |
|
55 WindowsGroup, |
|
56 AdditionalParameters, |
|
57 Priority |
|
58 }; |
|
59 |
|
60 #endif //RUNNINGAPPGLOBALS_H |
|
61 |