syncmlfw/common/obex/obexcommserver/inc/nsmlobexdefs.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2002 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:  SyncML Obex server internal server module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __NSMLOBEXDEFS_H__
       
    21 #define __NSMLOBEXDEFS_H__
       
    22 
       
    23 // ------------------------------------------------------------------------------------------------
       
    24 // Includes
       
    25 // ------------------------------------------------------------------------------------------------
       
    26 #include <e32base.h>
       
    27 
       
    28 // ------------------------------------------------------------------------------------------------
       
    29 // Constants
       
    30 // ------------------------------------------------------------------------------------------------
       
    31 _LIT( KNSmlDSObexCommServerName, "NSmlDSObexCommServer");
       
    32 _LIT( KNSmlDMObexCommServerName, "NSmlDMObexCommServer");
       
    33 
       
    34 const TInt KNSmlObexCommServerVersionMajor = 1;
       
    35 const TInt KNSmlObexCommServerVersionMinor = 0;
       
    36 
       
    37 // ------------------------------------------------------------------------------------------------
       
    38 // TNSmlObexCommCommands 
       
    39 // ------------------------------------------------------------------------------------------------
       
    40 enum TNSmlObexCommCommands 
       
    41 	{
       
    42 	// Client side commands
       
    43 	ENSmlObexCommCommandDisconnect,
       
    44 	ENSmlObexCommCommandSend,
       
    45 	ENSmlObexCommCommandReceive,
       
    46 	ENSmlObexCommCommandCancelReceive,
       
    47 	// Server side commands
       
    48 	ENSmlObexCommCommandSetReceivePacket,
       
    49 	ENSmlObexCommCommandGetSendPacket,
       
    50 	ENSmlObexCommCommandCancelGetSendPacket,
       
    51 	ENSmlObexCommCommandListenDisconnect,
       
    52 	ENSmlObexCommCommandCancelListenDisconnect
       
    53 	};
       
    54 
       
    55 #endif __NSMLOBEXDEFS_H__