atext/client/inc/atextclientsrv.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 /*
       
     2 * Copyright (c) 2008-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:  Client-Server message passing declarations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_ATEXTCLIENTSRV_H
       
    20 #define C_ATEXTCLIENTSRV_H
       
    21 
       
    22 /**  Opcodes used in message passing between client and server */
       
    23 enum TATExtIpc
       
    24     {
       
    25     EATExtSetExtensionInterface,
       
    26     EATExtSynchronousClose,
       
    27     EATExtHandleCommand,
       
    28     EATExtCancelHandleCommand,
       
    29     EATExtGetNextPartOfReply,
       
    30     EATExtNumberOfPlugins,
       
    31     EATExtReceiveUnsolicitedResult,
       
    32     EATExtCancelReceiveUnsolicitedResult,
       
    33     EATExtMarkUrcHandlingOwnership,
       
    34     EATExtReceiveEcomPluginChange,
       
    35     EATExtCancelReceiveEcomPluginChange,
       
    36     EATExtReportQuietModeChange,
       
    37     EATExtReportVerboseModeChange,
       
    38     EATExtReportCharacterChange,
       
    39     EATExtReportListenerUpdateReady,
       
    40     EATExtBroadcastNvramStatusChange,
       
    41     EATExtReportExternalHandleCommandError,
       
    42     EATExtReportHandleCommandAbort,
       
    43     EATExtGetNextSpecialCommand,
       
    44     EInvalidIpc
       
    45     };
       
    46 
       
    47 /**  Server name */
       
    48 _LIT( KATExtSrvName, "atext" );
       
    49 
       
    50 /**  A version must be specified when creating a session with the server */
       
    51 const TUint KCommonServerMajorVersionNumber = 2;
       
    52 const TUint KCommonServerMinorVersionNumber = 0;
       
    53 const TUint KCommonServerBuildVersionNumber = 0;
       
    54 
       
    55 /**  A version must be specifyed when creating a session with the server */
       
    56 const TUint KServerMajorVersionNumber = 1;
       
    57 const TUint KServerMinorVersionNumber = 0;
       
    58 const TUint KServerBuildVersionNumber = 0;
       
    59 
       
    60 #endif  // C_ATEXTCLIENTSRV_H