00001 /* 00002 * ============================================================================== 00003 * Name : clientservercommon.h 00004 * Part of : CSSync 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 00010 * All rights reserved. 00011 * This component and the accompanying materials are made available 00012 * under the terms of "Eclipse Public License v1.0" 00013 * which accompanies this distribution, and is available 00014 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 00015 * ============================================================================== 00016 */ 00017 00018 00019 #ifndef __CLIENTSERVERCOMMON_H__ 00020 #define __CLIENTSERVERCOMMON_H__ 00021 00022 // INCLUDE FILES 00023 #include <e32base.h> 00024 00025 // CONSTANTS 00026 _LIT( KTimeServerName,"SyncTimeServer" ); // Server name 00027 _LIT( KTimeServerSemaphoreName, "TimeServerSemaphore" ); 00028 00029 // The server version. A version must be specified when 00030 // creating a session with the server. 00031 const TUint KTimeServMajorVersionNumber=0; 00032 const TUint KTimeServMinorVersionNumber=1; 00033 const TUint KTimeServBuildVersionNumber=1; 00034 00035 // DATA TYPES 00036 // Opcodes used in message passing between client and server 00037 enum TTimeServRqst 00038 { 00039 ETimeServRequestTime 00040 }; 00041 00042 #endif // __CLIENTSERVERCOMMON_H__ 00043 00044 // End of File