00001 "-//W3C//DTD HTML 4.0 Transitional//EN"> 00002 00003 00004 00005 "Content-Type" content="text/html;charset=iso-8859-1"> 00006csasyncrequesthandler.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 : csasyncrequesthandler.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 __CCSASYNCREQUESTHANDLER_H__ 00037 "l00018">00018 class="preprocessor">class="preprocessor">#define __CCSASYNCREQUESTHANDLER_H__ 00038 "l00019">00019 class="preprocessor"> 00039 "l00020">00020 class="comment">// INCLUDE FILES 00040 "l00021">00021 class="preprocessor">#include <e32base.h> 00041 "l00022">00022 class="preprocessor">#include "TimeServerSession.h" 00042 "l00023">00023 00043 "l00024">00024 class="comment">// FORWARD DECLARATIONS 00044 "l00025">00025 class="keyword">class "code" href="class_m_async_time_observer.html">MAsyncTimeObserver; 00045 "l00026">00026 00046 "l00027">00027 class="comment">// CLASS DECLARATION 00047 "l00028">00028 class="comment"> 00052 "l00033">class="code" href="class_c_c_s_async_request_handler.html">00033 class="keyword">class "code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler : class="keyword">public CActive 00053 "l00034">00034 { 00054 "l00035">00035 class="keyword">public: class="comment">// Constructors and destructors 00055 "l00036">00036 class="comment"> 00064 "l00045">00045 class="keyword">static class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler* class="code" href="class_c_c_s_async_request_handler.html#e27bf7140859a754f6f06c51dbbd1b12">NewL( class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver& aObserver ); 00065 "l00046">00046 class="comment"> 00066 "l00047">00047 class="comment"> 00075 "l00056">00056 class="keyword">static class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler* class="code" href="class_c_c_s_async_request_handler.html#aea906e05bc2fa2a15b3152501b0f12e">NewLC( class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver& aObserver ); 00076 "l00057">00057 class="comment"> 00077 "l00058">00058 class="comment"> 00082 "l00063">00063 class="keyword">virtual class="code" href="class_c_c_s_async_request_handler.html#91aee909b7becabe937b696acc0c1590">~CCSAsyncRequestHandler(); 00083 "l00064">00064 00084 "l00065">00065 class="keyword">public: class="comment">// New functions 00085 "l00066">00066 class="comment"> 00086 "l00067">00067 class="comment"> 00090 "l00071">00071 class="keywordtype">void class="code" href="class_c_c_s_async_request_handler.html#481d63e2f4e33b9cb8ed4680a965da25">RequestTime(); 00091 "l00072">00072 class="comment"> 00092 "l00073">00073 class="comment"> 00096 "l00077">00077 class="keywordtype">void class="code" href="class_c_c_s_async_request_handler.html#63d7f6ab1c508b38c31d416e01f71a29">CancelRequest() ; 00097 "l00078">00078 class="comment"> 00098 "l00079">00079 class="comment"> 00103 "l00084">00084 TTime class="code" href="class_c_c_s_async_request_handler.html#abd5ca40d94b3e8941d79e5362c038b2">Time() class="keyword">const; 00104 "l00085">00085 00105 "l00086">00086 class="keyword">protected: class="comment">// Functions from base classes 00106 "l00087">00087 class="comment"> 00107 "l00088">00088 class="comment"> 00112 "l00093">00093 class="keywordtype">void class="code" href="class_c_c_s_async_request_handler.html#98dcd20e4dd117488a6a90dadd4dfac5">RunL(); 00113 "l00094">00094 class="comment"> 00114 "l00095">00095 class="comment"> 00118 "l00099">00099 class="keywordtype">void class="code" href="class_c_c_s_async_request_handler.html#79737b00f2b6a07492c7caf4220c6691">DoCancel(); 00119 "l00100">00100 00120 "l00101">00101 class="keyword">private: class="comment">// Constructors and destructors 00121 "l00102">00102 class="comment"> 00122 "l00103">00103 class="comment"> 00128 "l00109">00109 class="code" href="class_c_c_s_async_request_handler.html#7f4ba53fa1861a0a692566cdfa024cd4">CCSAsyncRequestHandler( class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver& aObserver ); 00129 "l00110">00110 class="comment"> 00130 "l00111">00111 class="comment"> 00135 "l00116">00116 class="keywordtype">void class="code" href="class_c_c_s_async_request_handler.html#9ce34ba0b947863222da3c63d0481044">ConstructL(); 00136 "l00117">00117 00137 "l00118">00118 class="keyword">private: class="comment">// Data 00138 "l00119">00119 class="comment"> 00139 "l00120">00120 class="comment"> 00142 "l00123">class="code" href="class_c_c_s_async_request_handler.html#d8033daa9b951c54149345b6871648bb">00123 class="code" href="class_r_time_server_session.html">RTimeServerSession class="code" href="class_c_c_s_async_request_handler.html#d8033daa9b951c54149345b6871648bb">iSession; 00143 "l00124">00124 class="comment"> 00144 "l00125">00125 class="comment"> 00147 "l00128">class="code" href="class_c_c_s_async_request_handler.html#ab88bd4e7e44b5e05aab3f182f76db1f">00128 TTime class="code" href="class_c_c_s_async_request_handler.html#ab88bd4e7e44b5e05aab3f182f76db1f">iTime; 00148 "l00129">00129 class="comment"> 00149 "l00130">00130 class="comment"> 00152 "l00133">class="code" href="class_c_c_s_async_request_handler.html#5598d19cc10719afd28055422087a200">00133 class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver& class="code" href="class_c_c_s_async_request_handler.html#5598d19cc10719afd28055422087a200">iObserver; 00153 "l00134">00134 }; 00154 "l00135">00135 00155 "l00136">00136 00156 "l00137">00137 class="preprocessor">#endif //__CCSASYNCREQUESTHANDLER_H__ 00157 "l00138">00138 class="preprocessor"> 00158 "l00139">00139 class="comment">// End of File 00159
"width: 50%;
00174 padding-right: 10px;
00175 padding-left: 10px;
00176 border-right-style: None;
00177 border-left-style: None;
00178 border-top-style: None;
00179 border-bottom-style: None;"
00180 width=50%>
00181 "font-family: Arial;">"font-size: smaller;"> Nokia 2009 |
00182 "width: 50%;
00183 padding-right: 10px;
00184 padding-left: 10px;
00185 border-top-style: None;
00186 border-bottom-style: None;
00187 border-right-style: None;"
00188 width=50%>
00189 "text-align: right; margin-right: -4px;"
00190 align=right>"font-weight: bold;">"#Top"
00191 title="Back to top"> |