appinstaller/AppinstUi/Client/Inc/SWInstCommon.h
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     1 /*
       
     2 * Copyright (c) 2002-2004 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:   This file contains common internal declarations for both the 
       
    15 *                Installer server and client.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef SWINSTCOMMON_H
       
    21 #define SWINSTCOMMON_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 #include "SWInstPrivateUid.h"
       
    26 
       
    27 namespace SwiUI
       
    28 {
       
    29 
       
    30 // CONSTANTS
       
    31 _LIT( KSWInstSvrName, "SWInstSvr" );
       
    32 const TUid KUidSWInstSvr = { KSWInstSvrUid };
       
    33 
       
    34 // DATA TYPES
       
    35 
       
    36 /**
       
    37 * Reasons for client panic.
       
    38 *
       
    39 * @since 3.0
       
    40 */
       
    41 enum TSWInstPanic
       
    42     {
       
    43     ESWInstPanicBadRequest,
       
    44     ESWInstPanicBadDescriptor,
       
    45     ESWInstPanicBadHandle
       
    46     };
       
    47 
       
    48 const TUint KFileHandleIpcSlot = 0;
       
    49 const TUint KFileSrvSessionIpcSlot = 1;
       
    50 const TUint KFileNameIpcSlot = 0;
       
    51 const TUint KMimeIpcSlot = 1;
       
    52 const TUint KParamsIpcSlot = 2;
       
    53 const TUint KOptionsIpcSlot = 3;
       
    54 const TUint KUidIpcSlot = 0;
       
    55 const TUint KRequestIpcSlot = 3;
       
    56 const TUint KCommonParamsIpcSlot = 2;
       
    57 const TUint KOperationIpcSlot = 0;
       
    58 
       
    59 }
       
    60 
       
    61 
       
    62 #endif // SWINSTCOMMON_H