atext/client/inc/atextclientsrvcommon.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Client-Server message passing declarations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_ATEXTCLIENTSRVCOMMON_H
       
    20 #define C_ATEXTCLIENTSRVCOMMON_H
       
    21 
       
    22 /**  Opcodes used in message passing between client and server */
       
    23 enum TATExtIpc
       
    24     {
       
    25     EATExtSetCommonInterface,
       
    26     EATExtSynchronousClose,
       
    27     EATExtGetMode,
       
    28     EATExtReceiveModeStatusChange,
       
    29     EATExtCancelReceiveModeStatusChange,
       
    30     EATExtGetNvramStatus,
       
    31     EATExtReceiveNvramStatusChange,
       
    32     EATExtCancelReceiveNvramStatusChange,
       
    33     EInvalidIpc
       
    34     };
       
    35 
       
    36 /**  Server name */
       
    37 _LIT( KATExtSrvName, "atextcommon" );
       
    38 
       
    39 /**  A version must be specifyed when creating a session with the server */
       
    40 const TUint KCommonServerMajorVersionNumber = 2;
       
    41 const TUint KCommonServerMinorVersionNumber = 0;
       
    42 const TUint KCommonServerBuildVersionNumber = 0;
       
    43 
       
    44 #endif  // C_ATEXTCLIENTSRVCOMMON_H