dependencies/avkon_ui_server_api/AknCapServerDefs.h
author kashif.sayed
Sat, 27 Mar 2010 03:52:59 +0530
branchv5backport
changeset 34 1494d39c2fee
parent 26 bef183758dfa
permissions -rw-r--r--
added few more dependencies
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     1
/*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     8
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    11
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    12
* Contributors:
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    13
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    14
* Description:  AknCapServer constant definitions.
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    15
*
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    16
*/
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    17
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    18
#ifndef __AKNCAPSERVERDEF_H__
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    19
#define __AKNCAPSERVERDEF_H__
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    20
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    21
#include <e32std.h>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    22
#include <babitflags.h>
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    23
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    24
#define KAknCapServerUid TUid::Uid( 0x10207218 )
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    25
#define KAknCapServiceUid TUid::Uid( 0x10207219 )
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    26
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    27
enum EAknCapServerOps
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    28
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    29
    EAknSLaunchView = 50, // to avoid collision to notifier related commands
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    30
    EAknSKillApp,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    31
    EAknSKillAllApps,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    32
    EAknSUnlockMedia,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    33
    EAknSEnableTaskList,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    34
    EAknsLaunchTaskList,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    35
    EAknSRefreshTaskList,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    36
    EAknSSuppressAppsKey,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    37
    EAknSHideApplicationFromFWS,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    38
    // sgc
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    39
    EAknEikAppUiSetSgcParams,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    40
    EAknEikAppUiBlockServerStatusPaneRedraws,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    41
    EAknEikAppUiRedrawServerStatusPane,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    42
    EAknEikAppUiPrepareForAppExit,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    43
    EAknEikAppUiSetSystemFaded,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    44
    EAknEikAppUiIsSystemFaded,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    45
    EAknEikAppUiRelinquishPriorityToForegroundApp,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    46
    EAknEikAppUiLayoutConfigSize,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    47
    EAknEikAppUiGetLayoutConfig,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    48
    EAknEikAppUiMoveAppInZOrder,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    49
    // eiksrv support
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    50
    EAknSSetStatusPaneFlags,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    51
    EAknSSetStatusPaneLayout,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    52
    EAknSBlankScreen,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    53
    EAknSUnblankScreen,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    54
    EAknSSetKeyboardRepeatRate,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    55
    EAknSUpdateKeyBlockMode,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    56
    EAknSShowLockedNote,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    57
    EAknSShutdownApps,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    58
    EAknSStatusPaneResourceId,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    59
    EAknSStatusPaneAppResourceId,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    60
    EAknSSetStatusPaneAppResourceId,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    61
    EAknSRotateScreen,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    62
    EAknSAppsKeyBlocked,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    63
    EAknSShowLongTapAnimation,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    64
    EAknSHideLongTapAnimation,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    65
    EAknGetAliasKeyCode,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    66
    EAknSetFgSpDataSubscriberId,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    67
    EAknSCancelShutdownApps,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    68
    EAknSGetPhoneIdleViewId,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    69
    EAknSPreAllocateDynamicSoftNoteEvent,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    70
    EAknSNotifyDynamicSoftNoteEvent,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    71
    EAknSCancelDynamicSoftNoteEventNotification,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    72
    EAknSDiscreetPopupAction
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    73
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    74
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    75
enum TSuppressFunction
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    76
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    77
    EAknAppsKeyBlockDecreaseCount = -1,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    78
    EAknAppsKeyBlockRemoveClient,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    79
    EAknAppsKeyBlockAddCount        
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    80
    };  
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    81
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    82
// Flag that menu's option has a task swapper or not
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    83
enum TAknMenuOptionNoTaskSwapper
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    84
	{
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    85
	ETaskSwapper,
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    86
	ENoTaskSwapper
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    87
	};
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    88
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    89
struct SAknCapServerSetSgcParams
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    90
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    91
    TInt iWgId;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    92
    TBitFlags iAppFlags;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    93
    TInt iSpLayout;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    94
    TInt iSpFlags;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    95
    TInt iAppScreenMode;
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    96
    };
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    97
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    98
//----------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
    99
// Avkon alarm support related consts
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   100
//----------------------------------------------
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   101
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   102
#define KAknAlarmServiceUid TUid::Uid( 0x102072D4 )
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   103
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   104
// Complete interface must implement: public CAknAppServiceBase, public MAknAlarmServiceStartup !!! 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   105
class MAknAlarmServiceStartup
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   106
    {
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   107
public: 
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   108
    virtual void StartupNewSessionL(TAny* aAny = 0) = 0;    
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   109
    };       
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   110
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   111
_LIT(KAknAlarmServiceLibrary, "aknalarmservice.dll");    
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   112
_LIT(KAknCapServerThreadName, "akncapserver");
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   113
_LIT(KRDSupport, "c:\\resource\\errrd"); // moved to be available for everyone
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   114
       
bef183758dfa Dependencies for idlefw
kashif.sayed
parents:
diff changeset
   115
#endif // __AKNCAPSERVERDEF_H__