wim/Scard/inc/ScardClsv.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Definitions for client-server communication
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CSCARDCLSV_H
       
    21 #define CSCARDCLSV_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 // A version must be specifyed when creating a session with the server
       
    28 const TUint KScardServMajorVersionNumber = 0;
       
    29 const TUint KScardServMinorVersionNumber = 1;
       
    30 const TUint KScardServBuildVersionNumber = 1;
       
    31 // server name
       
    32 _LIT( KScardServerName, "ScardServer" );
       
    33 
       
    34 // DATA TYPES
       
    35 // opcodes used in message passing between client and server
       
    36 enum TScardServRqst
       
    37     {
       
    38     //  CScardComm opcodes
       
    39     EScardServerCloseSession,
       
    40     EScardServerNotifyChange,
       
    41     EScardServerCancelNotifyChange,
       
    42     EScardServerConnectToReader,
       
    43     EScardServerDisconnectFromReader,
       
    44     EScardServerTransmitToCard,
       
    45     EScardServerCancelTransmit,
       
    46     EScardServerGetATR,
       
    47     EScardServerGetCapabilities,
       
    48     EScardServerManageChannel
       
    49     };
       
    50 
       
    51 // FUNCTION PROTOTYPES
       
    52 IMPORT_C TInt StartThread();
       
    53 
       
    54 #endif      // CSCARDCLSV_H
       
    55 
       
    56 // End of File