examples/S60CppExamples/ClientServerAsync/client/inc/clientservercommon.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : clientservercommon.h
00004 *  Part of     : CSAsync
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004-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,"AsyncTimeServer" ); // Server name
00025 _LIT( KTimeServerSemaphoreName, "AsyncTimeServerSemaphore" );
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     ETimeServCancelRequestTime
00039     };
00040 
00041 // Opcodes used by server to indicate which asynchronous service
00042 // has completed
00043 enum TTimeServRqstComplete
00044     {
00045     ETimeServRequestTimeComplete = 1
00046     };
00047 
00048 #endif // __CLIENTSERVERCOMMON_H__
00049 
00050 // End of file

Generated by  doxygen 1.6.2