26
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-2007 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: AknCapServer constant definitions.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef __AKNCAPSERVERDEF_H__
|
|
19 |
#define __AKNCAPSERVERDEF_H__
|
|
20 |
|
|
21 |
#include <e32std.h>
|
|
22 |
#include <babitflags.h>
|
|
23 |
|
|
24 |
#define KAknCapServerUid TUid::Uid( 0x10207218 )
|
|
25 |
#define KAknCapServiceUid TUid::Uid( 0x10207219 )
|
|
26 |
|
|
27 |
enum EAknCapServerOps
|
|
28 |
{
|
|
29 |
EAknSLaunchView = 50, // to avoid collision to notifier related commands
|
|
30 |
EAknSKillApp,
|
|
31 |
EAknSKillAllApps,
|
|
32 |
EAknSUnlockMedia,
|
|
33 |
EAknSEnableTaskList,
|
|
34 |
EAknsLaunchTaskList,
|
|
35 |
EAknSRefreshTaskList,
|
|
36 |
EAknSSuppressAppsKey,
|
|
37 |
EAknSHideApplicationFromFWS,
|
|
38 |
// sgc
|
|
39 |
EAknEikAppUiSetSgcParams,
|
|
40 |
EAknEikAppUiBlockServerStatusPaneRedraws,
|
|
41 |
EAknEikAppUiRedrawServerStatusPane,
|
|
42 |
EAknEikAppUiPrepareForAppExit,
|
|
43 |
EAknEikAppUiSetSystemFaded,
|
|
44 |
EAknEikAppUiIsSystemFaded,
|
|
45 |
EAknEikAppUiRelinquishPriorityToForegroundApp,
|
|
46 |
EAknEikAppUiLayoutConfigSize,
|
|
47 |
EAknEikAppUiGetLayoutConfig,
|
|
48 |
EAknEikAppUiMoveAppInZOrder,
|
|
49 |
// eiksrv support
|
|
50 |
EAknSSetStatusPaneFlags,
|
|
51 |
EAknSSetStatusPaneLayout,
|
|
52 |
EAknSBlankScreen,
|
|
53 |
EAknSUnblankScreen,
|
|
54 |
EAknSSetKeyboardRepeatRate,
|
|
55 |
EAknSUpdateKeyBlockMode,
|
|
56 |
EAknSShowLockedNote,
|
|
57 |
EAknSShutdownApps,
|
|
58 |
EAknSStatusPaneResourceId,
|
|
59 |
EAknSStatusPaneAppResourceId,
|
|
60 |
EAknSSetStatusPaneAppResourceId,
|
|
61 |
EAknSRotateScreen,
|
|
62 |
EAknSAppsKeyBlocked,
|
|
63 |
EAknSShowLongTapAnimation,
|
|
64 |
EAknSHideLongTapAnimation,
|
|
65 |
EAknGetAliasKeyCode,
|
|
66 |
EAknSetFgSpDataSubscriberId,
|
|
67 |
EAknSCancelShutdownApps,
|
|
68 |
EAknSGetPhoneIdleViewId,
|
|
69 |
EAknSPreAllocateDynamicSoftNoteEvent,
|
|
70 |
EAknSNotifyDynamicSoftNoteEvent,
|
|
71 |
EAknSCancelDynamicSoftNoteEventNotification,
|
|
72 |
EAknSDiscreetPopupAction
|
|
73 |
};
|
|
74 |
|
|
75 |
enum TSuppressFunction
|
|
76 |
{
|
|
77 |
EAknAppsKeyBlockDecreaseCount = -1,
|
|
78 |
EAknAppsKeyBlockRemoveClient,
|
|
79 |
EAknAppsKeyBlockAddCount
|
|
80 |
};
|
|
81 |
|
|
82 |
// Flag that menu's option has a task swapper or not
|
|
83 |
enum TAknMenuOptionNoTaskSwapper
|
|
84 |
{
|
|
85 |
ETaskSwapper,
|
|
86 |
ENoTaskSwapper
|
|
87 |
};
|
|
88 |
|
|
89 |
struct SAknCapServerSetSgcParams
|
|
90 |
{
|
|
91 |
TInt iWgId;
|
|
92 |
TBitFlags iAppFlags;
|
|
93 |
TInt iSpLayout;
|
|
94 |
TInt iSpFlags;
|
|
95 |
TInt iAppScreenMode;
|
|
96 |
};
|
|
97 |
|
|
98 |
//----------------------------------------------
|
|
99 |
// Avkon alarm support related consts
|
|
100 |
//----------------------------------------------
|
|
101 |
|
|
102 |
#define KAknAlarmServiceUid TUid::Uid( 0x102072D4 )
|
|
103 |
|
|
104 |
// Complete interface must implement: public CAknAppServiceBase, public MAknAlarmServiceStartup !!!
|
|
105 |
class MAknAlarmServiceStartup
|
|
106 |
{
|
|
107 |
public:
|
|
108 |
virtual void StartupNewSessionL(TAny* aAny = 0) = 0;
|
|
109 |
};
|
|
110 |
|
|
111 |
_LIT(KAknAlarmServiceLibrary, "aknalarmservice.dll");
|
|
112 |
_LIT(KAknCapServerThreadName, "akncapserver");
|
|
113 |
_LIT(KRDSupport, "c:\\resource\\errrd"); // moved to be available for everyone
|
|
114 |
|
|
115 |
#endif // __AKNCAPSERVERDEF_H__
|