taskswitcher/inc/tstaskmonitorglobals.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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 };
       
    40 
       
    41 enum UpdatePriority {
       
    42     Low = 0,
       
    43     Normal,
       
    44     High
       
    45 };
       
    46 
       
    47 enum Visibility {
       
    48     Invisible =0,
       
    49     Visible
       
    50 };
       
    51 
       
    52 enum ScreenshotMessageOffsets {
       
    53     ScreenshotHandle = 0,
       
    54     WindowsGroup,
       
    55     AdditionalParameters,
       
    56     Priority
       
    57 };
       
    58 
       
    59 #endif  //RUNNINGAPPGLOBALS_H
       
    60