00001 "-//W3C//DTD HTML 4.0 Transitional//EN"> 00002 00003 00004 00005 "Content-Type" content="text/html;charset=iso-8859-1"> 00006clientservercommon.h Source File 00007 "style.css" rel="stylesheet" type="text/css"> 00008 00009 00010
"100%" height="1">"2" color="#000000" face="Arial, Helvetica, sans-serif">
00012 S60 5th Edition SDK Example Applications Guide |
class="fragment">"l00001">00001 class="comment">/* 00021 00002 * ============================================================================== 00022 00003 * Name : clientservercommon.h 00023 00004 * Part of : CSAsync 00024 00005 * Interface : 00025 00006 * Description : 00026 00007 * Version : 00027 00008 * 00028 00009 * Copyright (c) 2004-2006 Nokia Corporation. 00029 00010 * This material, including documentation and any related 00030 00011 * computer programs, is protected by copyright controlled by 00031 00012 * Nokia Corporation. 00032 00013 * ============================================================================== 00033 00014 */ 00034 "l00015">00015 00035 "l00016">00016 00036 "l00017">00017 class="preprocessor">#ifndef __CLIENTSERVERCOMMON_H__ 00037 "l00018">00018 class="preprocessor">class="preprocessor">#define __CLIENTSERVERCOMMON_H__ 00038 "l00019">00019 class="preprocessor"> 00039 "l00020">00020 class="comment">// INCLUDE FILES 00040 "l00021">00021 class="preprocessor">#include <e32base.h> 00041 "l00022">00022 00042 "l00023">00023 class="comment">// CONSTANTS 00043 "l00024">00024 _LIT( KTimeServerName,class="stringliteral">"AsyncTimeServer" ); class="comment">// Server name 00044 "l00025">00025 _LIT( KTimeServerSemaphoreName, class="stringliteral">"AsyncTimeServerSemaphore" ); 00045 "l00026">00026 00046 "l00027">00027 class="comment">// The server version. A version must be specified when 00047 "l00028">00028 class="comment">// creating a session with the server. 00048 "l00029">00029 class="keyword">const TUint KTimeServMajorVersionNumber=0; 00049 "l00030">00030 class="keyword">const TUint KTimeServMinorVersionNumber=1; 00050 "l00031">00031 class="keyword">const TUint KTimeServBuildVersionNumber=1; 00051 "l00032">00032 00052 "l00033">00033 class="comment">// DATA TYPES 00053 "l00034">00034 class="comment">// Opcodes used in message passing between client and server 00054 "l00035">00035 class="keyword">enum TTimeServRqst 00055 "l00036">00036 { 00056 "l00037">00037 ETimeServRequestTime, 00057 "l00038">00038 ETimeServCancelRequestTime 00058 "l00039">00039 }; 00059 "l00040">00040 00060 "l00041">00041 class="comment">// Opcodes used by server to indicate which asynchronous service 00061 "l00042">00042 class="comment">// has completed 00062 "l00043">00043 class="keyword">enum TTimeServRqstComplete 00063 "l00044">00044 { 00064 "l00045">00045 ETimeServRequestTimeComplete = 1 00065 "l00046">00046 }; 00066 "l00047">00047 00067 "l00048">00048 class="preprocessor">#endif // __CLIENTSERVERCOMMON_H__ 00068 "l00049">00049 class="preprocessor"> 00069 "l00050">00050 class="comment">// End of file 00070
"width: 50%;
00085 padding-right: 10px;
00086 padding-left: 10px;
00087 border-right-style: None;
00088 border-left-style: None;
00089 border-top-style: None;
00090 border-bottom-style: None;"
00091 width=50%>
00092 "font-family: Arial;">"font-size: smaller;"> Nokia 2009 |
00093 "width: 50%;
00094 padding-right: 10px;
00095 padding-left: 10px;
00096 border-top-style: None;
00097 border-bottom-style: None;
00098 border-right-style: None;"
00099 width=50%>
00100 "text-align: right; margin-right: -4px;"
00101 align=right>"font-weight: bold;">"#Top"
00102 title="Back to top"> |