S60 5th Edition SDK
Example Applications Guide

clientservercommon.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : clientservercommon.h
00004 *  Part of     : CSSync
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 
00017 #ifndef __CLIENTSERVERCOMMON_H__
00018 #define __CLIENTSERVERCOMMON_H__
00019 
00020 // INCLUDE FILES
00021 #include <e32base.h>
00022 
00023 // CONSTANTS
00024 _LIT( KTimeServerName,"SyncTimeServer" ); // Server name
00025 _LIT( KTimeServerSemaphoreName, "TimeServerSemaphore" );
00026 
00027 // The server version. A version must be specified when
00028 // creating a session with the server.
00029 const TUint KTimeServMajorVersionNumber=0;
00030 const TUint KTimeServMinorVersionNumber=1;
00031 const TUint KTimeServBuildVersionNumber=1;
00032 
00033 // DATA TYPES
00034 // Opcodes used in message passing between client and server
00035 enum TTimeServRqst
00036     {
00037     ETimeServRequestTime
00038     };
00039 
00040 #endif // __CLIENTSERVERCOMMON_H__
00041 
00042 // End of File

© Nokia 2009

Back to top