secsrv_plat/lockapp_server_api/inc/lockappclientserver.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 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:  LockApp Server information
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __LOCKAPPCLIENTSERVER_H__
       
    20 #define __LOCKAPPCLIENTSERVER_H__
       
    21 
       
    22 /**
       
    23  * LockApp application Uid
       
    24  */
       
    25 const TUid KLockAppUid =
       
    26     {
       
    27     0x10283322
       
    28     };
       
    29 
       
    30 /**
       
    31  * LockApp service Uid and differentiator
       
    32  */
       
    33 const TUid KLockAppServiceUid =
       
    34     {
       
    35     0x00000001
       
    36     };
       
    37 const TUint KLockAppServerDiff = 0x00000002;
       
    38 
       
    39 /**
       
    40  * LockApp session version numbers
       
    41  */
       
    42 const TUint KLockAppServMajorVersion = 1;
       
    43 const TUint KLockAppServMinorVersion = 0;
       
    44 const TUint KLockAppServBuildVersion = 0;
       
    45 
       
    46 /**
       
    47  * LockApp name and process name
       
    48  */
       
    49 _LIT( KLockAppServerName, "LockApp");
       
    50 _LIT( KLockAppServerImg, "LockApp");
       
    51 
       
    52 /**
       
    53  * LockApp messages
       
    54  */
       
    55 enum TLockAppMessageReason
       
    56     {
       
    57     ELockAppEnableKeyguard = 1,
       
    58     ELockAppDisableKeyguard,
       
    59     ELockAppEnableDevicelock,
       
    60     ELockAppDisableDevicelock,
       
    61     ELockAppOfferKeyguard,
       
    62     ELockAppOfferDevicelock,
       
    63     ELockAppShowKeysLockedNote,
       
    64 #ifdef _DEBUG
       
    65     ELockAppTestInternal = 100,
       
    66     ELockAppTestDestruct,
       
    67     ELockAppTestPanicClient
       
    68 #endif
       
    69     };
       
    70 
       
    71 #endif // __LOCKAPPCLIENTSERVER_H__