locationsystemui/locationsysui/locsettingsuiservice/locsettingsuiserver/inc/locsettingsuiserverinterface.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005-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:  Interface header for the Location Settings Ui server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef R_LOCSETTINGSUISERVERINTERFACE_H
       
    20 #define R_LOCSETTINGSUISERVERINTERFACE_H
       
    21 
       
    22 /**
       
    23  * Server Name
       
    24  */
       
    25  _LIT( KLocSettingsUiServerName, "!LocSettingsUiServer" );
       
    26 
       
    27 /**
       
    28  * Server exe
       
    29  */
       
    30  _LIT( KLocSettingsUiServerExe, "locsettingsuiserver" );
       
    31  
       
    32 /** 
       
    33  * Server UID
       
    34  */
       
    35  const TInt  KLocSettingsUiServerUid    = 0x10281861;
       
    36  
       
    37 /**
       
    38  * Service UID
       
    39  */
       
    40  const TInt  KLocSettingsUiServiceId    = 0x10281862;
       
    41  
       
    42 /**
       
    43  * Message Types
       
    44  */
       
    45  enum TLocSettingsUiMsgType
       
    46     {
       
    47     // Using a random value. Just to avoid clashing with the Server message
       
    48     // types
       
    49     ELaunchSettings = 0x1000,
       
    50     ELaunchSettingsWithString,
       
    51     ECancelSettings,
       
    52     ELaunchPosSettings,
       
    53     ECancelPosSettings    
       
    54     };
       
    55   
       
    56 /**
       
    57  * parameter Slots in a IPC message
       
    58  */
       
    59  enum TLocSettingsUiSrvParams
       
    60     {
       
    61     KSettingsUID = 0,
       
    62     KSettingsUIParam
       
    63     };
       
    64 
       
    65 /**
       
    66  * Number of Message slots
       
    67  */ 
       
    68  const TInt KDefaultMessageSlots = 4;
       
    69 
       
    70 /**
       
    71  * Location UI Server Panic Text
       
    72  */
       
    73  _LIT( KLocSettingsUIPanicTxt, "Location Settings UI Server" );
       
    74 
       
    75 /** 
       
    76  * Server Panic Codes
       
    77  */
       
    78  enum TLocSetitngsUiPanicCodes
       
    79     {
       
    80     ELocSettingsUiSrvInvalidArguments = 1,
       
    81     ELocSettingsUiSrvUnknownMessage,
       
    82     ELocSettingsUiSrvBadDescriptor
       
    83     };
       
    84  
       
    85 #endif // R_LOCSETTINGSUISERVERINTERFACE_H