|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
5 <title>TB9.2 Example Applications: examples/S60CppExamples/ClientServerAsync/doc/csasyncdocument_8cpp-source.html Source File</title> |
|
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
|
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <h1>examples/S60CppExamples/ClientServerAsync/doc/csasyncdocument_8cpp-source.html</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <!DOCTYPE HTML PUBLIC <span class="stringliteral">"-//W3C//DTD HTML 4.0 Transitional//EN"</span>> |
|
12 <a name="l00002"></a>00002 <html> |
|
13 <a name="l00003"></a>00003 |
|
14 <a name="l00004"></a>00004 <head> |
|
15 <a name="l00005"></a>00005 <meta http-equiv=<span class="stringliteral">"Content-Type"</span> content=<span class="stringliteral">"text/html;charset=iso-8859-1"</span>> |
|
16 <a name="l00006"></a>00006 <title>csasyncdocument.cpp Source File</title> |
|
17 <a name="l00007"></a>00007 <link href=<span class="stringliteral">"style.css"</span> rel=<span class="stringliteral">"stylesheet"</span> type=<span class="stringliteral">"text/css"</span>> |
|
18 <a name="l00008"></a>00008 </head> |
|
19 <a name="l00009"></a>00009 |
|
20 <a name="l00010"></a>00010 <table border=<span class="stringliteral">"0"</span> width=<span class="stringliteral">"100%"</span> height=<span class="stringliteral">"8"</span> bgcolor=<span class="stringliteral">"#eeeeee"</span>> |
|
21 <a name="l00011"></a>00011 <tr> <td width=<span class="stringliteral">"100%"</span> height=<span class="stringliteral">"1"</span>><b><font size=<span class="stringliteral">"2"</span> color=<span class="stringliteral">"#000000"</span> face=<span class="stringliteral">"Arial, Helvetica, sans-serif"</span>><strong><a name=Top></a> |
|
22 <a name="l00012"></a>00012 S60 5th Edition SDK </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table> |
|
23 <a name="l00013"></a>00013 <!-- Generated by Doxygen 1.4.5 --> |
|
24 <a name="l00014"></a>00014 <div <span class="keyword">class</span>=<span class="stringliteral">"tabs"</span>> |
|
25 <a name="l00015"></a>00015 <ul> |
|
26 <a name="l00016"></a>00016 <li><a href=<span class="stringliteral">"index.html"</span>><span>Main&nbsp;Page</span></a></li> |
|
27 <a name="l00017"></a>00017 <li><a href=<span class="stringliteral">"annotated.html"</span>><span>Classes</span></a></li> |
|
28 <a name="l00018"></a>00018 <li <span class="keywordtype">id</span>=<span class="stringliteral">"current"</span>><a href=<span class="stringliteral">"files.html"</span>><span>Files</span></a></li> |
|
29 <a name="l00019"></a>00019 </ul></div> |
|
30 <a name="l00020"></a>00020 <h1>csasyncdocument.cpp</h1><div <span class="keyword">class</span>=<span class="stringliteral">"fragment"</span>><pre <span class="keyword">class</span>=<span class="stringliteral">"fragment"</span>><a name=<span class="stringliteral">"l00001"</span>></a>00001 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">/*</span></span> |
|
31 <a name="l00021"></a>00021 <span class="comment"><a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span></span> |
|
32 <a name="l00022"></a>00022 <span class="comment"><a name="l00003"></a>00003 <span class="comment">* Name : csasyncdocument.cpp</span></span> |
|
33 <a name="l00023"></a>00023 <span class="comment"><a name="l00004"></a>00004 <span class="comment">* Part of : CSAsync</span></span> |
|
34 <a name="l00024"></a>00024 <span class="comment"><a name="l00005"></a>00005 <span class="comment">* Interface :</span></span> |
|
35 <a name="l00025"></a>00025 <span class="comment"><a name="l00006"></a>00006 <span class="comment">* Description :</span></span> |
|
36 <a name="l00026"></a>00026 <span class="comment"><a name="l00007"></a>00007 <span class="comment">* Version :</span></span> |
|
37 <a name="l00027"></a>00027 <span class="comment"><a name="l00008"></a>00008 <span class="comment">*</span></span> |
|
38 <a name="l00028"></a>00028 <span class="comment"><a name="l00009"></a>00009 <span class="comment">* Copyright (c) 2004-2006 Nokia Corporation.</span></span> |
|
39 <a name="l00029"></a>00029 <span class="comment"><a name="l00010"></a>00010 <span class="comment">* This material, including documentation and any related</span></span> |
|
40 <a name="l00030"></a>00030 <span class="comment"><a name="l00011"></a>00011 <span class="comment">* computer programs, is protected by copyright controlled by</span></span> |
|
41 <a name="l00031"></a>00031 <span class="comment"><a name="l00012"></a>00012 <span class="comment">* Nokia Corporation.</span></span> |
|
42 <a name="l00032"></a>00032 <span class="comment"><a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span></span> |
|
43 <a name="l00033"></a>00033 <span class="comment"><a name="l00014"></a>00014 <span class="comment">*/</span></span> |
|
44 <a name="l00034"></a>00034 <a name=<span class="stringliteral">"l00015"</span>></a>00015 |
|
45 <a name="l00035"></a>00035 <a name=<span class="stringliteral">"l00016"</span>></a>00016 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// INCLUDE FILES</span></span> |
|
46 <a name="l00036"></a>00036 <a name=<span class="stringliteral">"l00017"</span>></a>00017 <span <span class="keyword">class</span>=<span class="stringliteral">"preprocessor"</span>>#include <span class="stringliteral">"CSAsyncAppUi.h"</span></span> |
|
47 <a name="l00037"></a>00037 <a name=<span class="stringliteral">"l00018"</span>></a>00018 <span <span class="keyword">class</span>=<span class="stringliteral">"preprocessor"</span>>#include <span class="stringliteral">"CSAsyncDocument.h"</span></span> |
|
48 <a name="l00038"></a>00038 <a name=<span class="stringliteral">"l00019"</span>></a>00019 <span <span class="keyword">class</span>=<span class="stringliteral">"preprocessor"</span>>#include <span class="stringliteral">"CSAsyncRequestHandler.h"</span></span> |
|
49 <a name="l00039"></a>00039 <a name=<span class="stringliteral">"l00020"</span>></a>00020 |
|
50 <a name="l00040"></a>00040 <a name=<span class="stringliteral">"l00021"</span>></a>00021 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// ========================= MEMBER FUNCTIONS ==================================</span></span> |
|
51 <a name="l00041"></a>00041 <a name=<span class="stringliteral">"l00022"</span>></a>00022 |
|
52 <a name="l00042"></a>00042 <a name=<span class="stringliteral">"l00023"</span>></a>00023 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
53 <a name="l00043"></a>00043 <a name=<span class="stringliteral">"l00024"</span>></a>00024 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::NewL()</span></span> |
|
54 <a name="l00044"></a>00044 <a name=<span class="stringliteral">"l00025"</span>></a>00025 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Two-phased constructor.</span></span> |
|
55 <a name="l00045"></a>00045 <a name=<span class="stringliteral">"l00026"</span>></a>00026 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
56 <a name="l00046"></a>00046 <a name=<span class="stringliteral">"l00027"</span>></a>00027 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
57 <a name="l00047"></a>00047 <a name=<span class="stringliteral">"l00028"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#97d8413d74643854e05e60e11a177553"</span>>00028</a> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html"</span>><a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a></a>* <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#97d8413d74643854e05e60e11a177553"</span>><a class="code" href="class_c_c_s_async_document.html#a50acf074a5dd1aa399cfb0982c176f01">CCSAsyncDocument::NewL</a></a>( CEikApplication&amp; aApp ) |
|
58 <a name="l00048"></a>00048 <a name=<span class="stringliteral">"l00029"</span>></a>00029 { |
|
59 <a name="l00049"></a>00049 <a name=<span class="stringliteral">"l00030"</span>></a>00030 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html"</span>><a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a></a>* <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">self</span></span> = <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#4b4aa55001690769b8aac3d27274aef8"</span>>NewLC</a>( aApp ); |
|
60 <a name="l00050"></a>00050 <a name=<span class="stringliteral">"l00031"</span>></a>00031 CleanupStack::Pop( <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>>self</span> ); |
|
61 <a name="l00051"></a>00051 <a name=<span class="stringliteral">"l00032"</span>></a>00032 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">self</span></span>; |
|
62 <a name="l00052"></a>00052 <a name=<span class="stringliteral">"l00033"</span>></a>00033 } |
|
63 <a name="l00053"></a>00053 <a name=<span class="stringliteral">"l00034"</span>></a>00034 |
|
64 <a name="l00054"></a>00054 <a name=<span class="stringliteral">"l00035"</span>></a>00035 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
65 <a name="l00055"></a>00055 <a name=<span class="stringliteral">"l00036"</span>></a>00036 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::NewLC()</span></span> |
|
66 <a name="l00056"></a>00056 <a name=<span class="stringliteral">"l00037"</span>></a>00037 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Two-phased constructor.</span></span> |
|
67 <a name="l00057"></a>00057 <a name=<span class="stringliteral">"l00038"</span>></a>00038 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
68 <a name="l00058"></a>00058 <a name=<span class="stringliteral">"l00039"</span>></a>00039 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
69 <a name="l00059"></a>00059 <a name=<span class="stringliteral">"l00040"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#4b4aa55001690769b8aac3d27274aef8"</span>>00040</a> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html"</span>><a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a></a>* <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#4b4aa55001690769b8aac3d27274aef8"</span>><a class="code" href="class_c_c_s_async_document.html#abe6a44e36ede9c8c326e84ca6c7fb318">CCSAsyncDocument::NewLC</a></a>( CEikApplication&amp; aApp ) |
|
70 <a name="l00060"></a>00060 <a name=<span class="stringliteral">"l00041"</span>></a>00041 { |
|
71 <a name="l00061"></a>00061 <a name=<span class="stringliteral">"l00042"</span>></a>00042 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html"</span>><a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a></a>* <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">self</span></span> = <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">new</span></span> ( ELeave ) <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#2b3f9d0286c70047caac1054cee403c1"</span>><a class="code" href="class_c_c_s_async_document.html">CCSAsyncDocument</a></a>( aApp ); |
|
72 <a name="l00062"></a>00062 <a name=<span class="stringliteral">"l00043"</span>></a>00043 CleanupStack::PushL( <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>>self</span> ); |
|
73 <a name="l00063"></a>00063 <a name=<span class="stringliteral">"l00044"</span>></a>00044 <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">self</span></span>-&gt;ConstructL(); |
|
74 <a name="l00064"></a>00064 <a name=<span class="stringliteral">"l00045"</span>></a>00045 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">self</span></span>; |
|
75 <a name="l00065"></a>00065 <a name=<span class="stringliteral">"l00046"</span>></a>00046 } |
|
76 <a name="l00066"></a>00066 <a name=<span class="stringliteral">"l00047"</span>></a>00047 |
|
77 <a name="l00067"></a>00067 <a name=<span class="stringliteral">"l00048"</span>></a>00048 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
78 <a name="l00068"></a>00068 <a name=<span class="stringliteral">"l00049"</span>></a>00049 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::ConstructL()</span></span> |
|
79 <a name="l00069"></a>00069 <a name=<span class="stringliteral">"l00050"</span>></a>00050 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Symbian 2nd phase constructor can leave.</span></span> |
|
80 <a name="l00070"></a>00070 <a name=<span class="stringliteral">"l00051"</span>></a>00051 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
81 <a name="l00071"></a>00071 <a name=<span class="stringliteral">"l00052"</span>></a>00052 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
82 <a name="l00072"></a>00072 <a name=<span class="stringliteral">"l00053"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#9ce34ba0b947863222da3c63d0481044"</span>>00053</a> <span <span class="keyword">class</span>=<span class="stringliteral">"keywordtype"</span>><span class="keywordtype">void</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#9ce34ba0b947863222da3c63d0481044"</span>>CCSAsyncDocument::ConstructL</a>() |
|
83 <a name="l00073"></a>00073 <a name=<span class="stringliteral">"l00054"</span>></a>00054 { |
|
84 <a name="l00074"></a>00074 <a name=<span class="stringliteral">"l00055"</span>></a>00055 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// No implementation required</span></span> |
|
85 <a name="l00075"></a>00075 <a name=<span class="stringliteral">"l00056"</span>></a>00056 } |
|
86 <a name="l00076"></a>00076 <a name=<span class="stringliteral">"l00057"</span>></a>00057 |
|
87 <a name="l00077"></a>00077 <a name=<span class="stringliteral">"l00058"</span>></a>00058 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
88 <a name="l00078"></a>00078 <a name=<span class="stringliteral">"l00059"</span>></a>00059 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::CCSAsyncDocument()</span></span> |
|
89 <a name="l00079"></a>00079 <a name=<span class="stringliteral">"l00060"</span>></a>00060 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// C++ default constructor can NOT contain any code, that might leave.</span></span> |
|
90 <a name="l00080"></a>00080 <a name=<span class="stringliteral">"l00061"</span>></a>00061 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
91 <a name="l00081"></a>00081 <a name=<span class="stringliteral">"l00062"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#2b3f9d0286c70047caac1054cee403c1"</span>>00062</a> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#2b3f9d0286c70047caac1054cee403c1"</span>>CCSAsyncDocument::CCSAsyncDocument</a>( CEikApplication&amp; aApp ) |
|
92 <a name="l00082"></a>00082 <a name=<span class="stringliteral">"l00063"</span>></a>00063 : CAknDocument( aApp ) |
|
93 <a name="l00083"></a>00083 <a name=<span class="stringliteral">"l00064"</span>></a>00064 { |
|
94 <a name="l00084"></a>00084 <a name=<span class="stringliteral">"l00065"</span>></a>00065 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// No implementation required</span></span> |
|
95 <a name="l00085"></a>00085 <a name=<span class="stringliteral">"l00066"</span>></a>00066 } |
|
96 <a name="l00086"></a>00086 <a name=<span class="stringliteral">"l00067"</span>></a>00067 |
|
97 <a name="l00087"></a>00087 <a name=<span class="stringliteral">"l00068"</span>></a>00068 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
98 <a name="l00088"></a>00088 <a name=<span class="stringliteral">"l00069"</span>></a>00069 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::~CCSAsyncDocument()</span></span> |
|
99 <a name="l00089"></a>00089 <a name=<span class="stringliteral">"l00070"</span>></a>00070 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Destructor.</span></span> |
|
100 <a name="l00090"></a>00090 <a name=<span class="stringliteral">"l00071"</span>></a>00071 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
101 <a name="l00091"></a>00091 <a name=<span class="stringliteral">"l00072"</span>></a>00072 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
102 <a name="l00092"></a>00092 <a name=<span class="stringliteral">"l00073"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#8be2e5c465a282f8419da9246a622582"</span>>00073</a> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#8be2e5c465a282f8419da9246a622582"</span>><a class="code" href="class_c_c_s_async_document.html#a23cbeeb1f559354c0b4d0182adddfde4">CCSAsyncDocument::~CCSAsyncDocument</a></a>() |
|
103 <a name="l00093"></a>00093 <a name=<span class="stringliteral">"l00074"</span>></a>00074 { |
|
104 <a name="l00094"></a>00094 <a name=<span class="stringliteral">"l00075"</span>></a>00075 <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">delete</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a>; |
|
105 <a name="l00095"></a>00095 <a name=<span class="stringliteral">"l00076"</span>></a>00076 } |
|
106 <a name="l00096"></a>00096 <a name=<span class="stringliteral">"l00077"</span>></a>00077 |
|
107 <a name="l00097"></a>00097 <a name=<span class="stringliteral">"l00078"</span>></a>00078 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
108 <a name="l00098"></a>00098 <a name=<span class="stringliteral">"l00079"</span>></a>00079 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::CreateAppUiL()</span></span> |
|
109 <a name="l00099"></a>00099 <a name=<span class="stringliteral">"l00080"</span>></a>00080 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Creates a CCSAsyncAppUi object and return a pointer to it.</span></span> |
|
110 <a name="l00100"></a>00100 <a name=<span class="stringliteral">"l00081"</span>></a>00081 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
111 <a name="l00101"></a>00101 <a name=<span class="stringliteral">"l00082"</span>></a>00082 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
112 <a name="l00102"></a>00102 <a name=<span class="stringliteral">"l00083"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#0eb34f98d849338274127e28e8c78b4e"</span>>00083</a> CEikAppUi* <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#0eb34f98d849338274127e28e8c78b4e"</span>><a class="code" href="class_c_c_s_async_document.html#aa97ccf1fda44ab910f7b6e2ea91da0c6">CCSAsyncDocument::CreateAppUiL</a></a>() |
|
113 <a name="l00103"></a>00103 <a name=<span class="stringliteral">"l00084"</span>></a>00084 { |
|
114 <a name="l00104"></a>00104 <a name=<span class="stringliteral">"l00085"</span>></a>00085 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Create the application user interface, and return a pointer to it</span></span> |
|
115 <a name="l00105"></a>00105 <a name=<span class="stringliteral">"l00086"</span>></a>00086 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_app_ui.html"</span>><a class="code" href="class_c_c_s_async_app_ui.html">CCSAsyncAppUi</a></a>* appUi = <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">new</span></span> ( ELeave ) <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_app_ui.html"</span>><a class="code" href="class_c_c_s_async_app_ui.html">CCSAsyncAppUi</a></a>; |
|
116 <a name="l00106"></a>00106 <a name=<span class="stringliteral">"l00087"</span>></a>00087 CleanupStack::PushL( appUi ); |
|
117 <a name="l00107"></a>00107 <a name=<span class="stringliteral">"l00088"</span>></a>00088 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a> = <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_request_handler.html#e27bf7140859a754f6f06c51dbbd1b12"</span>><a class="code" href="class_c_c_s_async_request_handler.html#ace1ec40e7106ef002104b42eee746f64">CCSAsyncRequestHandler::NewL</a></a>( *appUi ); |
|
118 <a name="l00108"></a>00108 <a name=<span class="stringliteral">"l00089"</span>></a>00089 CleanupStack::Pop( appUi ) ; |
|
119 <a name="l00109"></a>00109 <a name=<span class="stringliteral">"l00090"</span>></a>00090 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> appUi; |
|
120 <a name="l00110"></a>00110 <a name=<span class="stringliteral">"l00091"</span>></a>00091 } |
|
121 <a name="l00111"></a>00111 <a name=<span class="stringliteral">"l00092"</span>></a>00092 |
|
122 <a name="l00112"></a>00112 <a name=<span class="stringliteral">"l00093"</span>></a>00093 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
123 <a name="l00113"></a>00113 <a name=<span class="stringliteral">"l00094"</span>></a>00094 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::UpdateTime()</span></span> |
|
124 <a name="l00114"></a>00114 <a name=<span class="stringliteral">"l00095"</span>></a>00095 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Asks the time server to update this documents locally stored time.</span></span> |
|
125 <a name="l00115"></a>00115 <a name=<span class="stringliteral">"l00096"</span>></a>00096 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
126 <a name="l00116"></a>00116 <a name=<span class="stringliteral">"l00097"</span>></a>00097 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
127 <a name="l00117"></a>00117 <a name=<span class="stringliteral">"l00098"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#49951129866458617c40b0dc2b4f393f"</span>>00098</a> <span <span class="keyword">class</span>=<span class="stringliteral">"keywordtype"</span>><span class="keywordtype">void</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#49951129866458617c40b0dc2b4f393f"</span>><a class="code" href="class_c_c_s_async_document.html#afe99840e05fffe337b28b2a8c7e96cdc">CCSAsyncDocument::UpdateTime</a></a>() |
|
128 <a name="l00118"></a>00118 <a name=<span class="stringliteral">"l00099"</span>></a>00099 { |
|
129 <a name="l00119"></a>00119 <a name=<span class="stringliteral">"l00100"</span>></a>00100 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a>-&gt;<a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_request_handler.html#481d63e2f4e33b9cb8ed4680a965da25"</span>>RequestTime</a>(); |
|
130 <a name="l00120"></a>00120 <a name=<span class="stringliteral">"l00101"</span>></a>00101 } |
|
131 <a name="l00121"></a>00121 <a name=<span class="stringliteral">"l00102"</span>></a>00102 |
|
132 <a name="l00122"></a>00122 <a name=<span class="stringliteral">"l00103"</span>></a>00103 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
133 <a name="l00123"></a>00123 <a name=<span class="stringliteral">"l00104"</span>></a>00104 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::StopClock()</span></span> |
|
134 <a name="l00124"></a>00124 <a name=<span class="stringliteral">"l00105"</span>></a>00105 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Stops the clock.</span></span> |
|
135 <a name="l00125"></a>00125 <a name=<span class="stringliteral">"l00106"</span>></a>00106 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
136 <a name="l00126"></a>00126 <a name=<span class="stringliteral">"l00107"</span>></a>00107 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
137 <a name="l00127"></a>00127 <a name=<span class="stringliteral">"l00108"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#0dcbea3e9ce301f1d5ac23a7679b8ee0"</span>>00108</a> <span <span class="keyword">class</span>=<span class="stringliteral">"keywordtype"</span>><span class="keywordtype">void</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#0dcbea3e9ce301f1d5ac23a7679b8ee0"</span>><a class="code" href="class_c_c_s_async_document.html#add1f562e2b18c7318d3cf4c6c0abf8db">CCSAsyncDocument::StopClock</a></a>() |
|
138 <a name="l00128"></a>00128 <a name=<span class="stringliteral">"l00109"</span>></a>00109 { |
|
139 <a name="l00129"></a>00129 <a name=<span class="stringliteral">"l00110"</span>></a>00110 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">if</span></span> ( <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#c66d75d45ff8dc86abcb0b2191aa61a8"</span>>ClockActive</a>() ) |
|
140 <a name="l00130"></a>00130 <a name=<span class="stringliteral">"l00111"</span>></a>00111 { |
|
141 <a name="l00131"></a>00131 <a name=<span class="stringliteral">"l00112"</span>></a>00112 <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a>-&gt;<a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_request_handler.html#63d7f6ab1c508b38c31d416e01f71a29"</span>>CancelRequest</a>() ; |
|
142 <a name="l00132"></a>00132 <a name=<span class="stringliteral">"l00113"</span>></a>00113 } |
|
143 <a name="l00133"></a>00133 <a name=<span class="stringliteral">"l00114"</span>></a>00114 } |
|
144 <a name="l00134"></a>00134 <a name=<span class="stringliteral">"l00115"</span>></a>00115 |
|
145 <a name="l00135"></a>00135 <a name=<span class="stringliteral">"l00116"</span>></a>00116 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
146 <a name="l00136"></a>00136 <a name=<span class="stringliteral">"l00117"</span>></a>00117 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::Time()</span></span> |
|
147 <a name="l00137"></a>00137 <a name=<span class="stringliteral">"l00118"</span>></a>00118 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Returns the currently stored time.</span></span> |
|
148 <a name="l00138"></a>00138 <a name=<span class="stringliteral">"l00119"</span>></a>00119 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
149 <a name="l00139"></a>00139 <a name=<span class="stringliteral">"l00120"</span>></a>00120 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
150 <a name="l00140"></a>00140 <a name=<span class="stringliteral">"l00121"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#abd5ca40d94b3e8941d79e5362c038b2"</span>>00121</a> TTime <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#abd5ca40d94b3e8941d79e5362c038b2"</span>><a class="code" href="class_c_c_s_async_document.html#a6b5c1a65ea758d5ca98c95955ee4de6f">CCSAsyncDocument::Time</a></a>()<span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> const</span> |
|
151 <a name="l00141"></a>00141 <a name=<span class="stringliteral">"l00122"</span>></a>00122 <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> </span>{ |
|
152 <a name="l00142"></a>00142 <a name=<span class="stringliteral">"l00123"</span>></a>00123 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a>-&gt;<a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_request_handler.html#abd5ca40d94b3e8941d79e5362c038b2"</span>>Time</a>(); |
|
153 <a name="l00143"></a>00143 <a name=<span class="stringliteral">"l00124"</span>></a>00124 } |
|
154 <a name="l00144"></a>00144 <a name=<span class="stringliteral">"l00125"</span>></a>00125 |
|
155 <a name="l00145"></a>00145 <a name=<span class="stringliteral">"l00126"</span>></a>00126 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
156 <a name="l00146"></a>00146 <a name=<span class="stringliteral">"l00127"</span>></a>00127 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSAsyncDocument::ClockActive()</span></span> |
|
157 <a name="l00147"></a>00147 <a name=<span class="stringliteral">"l00128"</span>></a>00128 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// Checks whether the clock has been started.</span></span> |
|
158 <a name="l00148"></a>00148 <a name=<span class="stringliteral">"l00129"</span>></a>00129 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span> |
|
159 <a name="l00149"></a>00149 <a name=<span class="stringliteral">"l00130"</span>></a>00130 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">//</span></span> |
|
160 <a name="l00150"></a>00150 <a name=<span class="stringliteral">"l00131"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#c66d75d45ff8dc86abcb0b2191aa61a8"</span>>00131</a> TBool <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#c66d75d45ff8dc86abcb0b2191aa61a8"</span>><a class="code" href="class_c_c_s_async_document.html#a98ef800a723c4f16e991a6dbc0d529f2">CCSAsyncDocument::ClockActive</a></a>()<span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> const</span> |
|
161 <a name="l00151"></a>00151 <a name=<span class="stringliteral">"l00132"</span>></a>00132 <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> </span>{ |
|
162 <a name="l00152"></a>00152 <a name=<span class="stringliteral">"l00133"</span>></a>00133 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_async_document.html#56132cb68e64726ad0658571e44e9644"</span>>iHandler</a>-&gt;IsActive(); |
|
163 <a name="l00153"></a>00153 <a name=<span class="stringliteral">"l00134"</span>></a>00134 } |
|
164 <a name="l00154"></a>00154 <a name=<span class="stringliteral">"l00135"</span>></a>00135 |
|
165 <a name="l00155"></a>00155 <a name=<span class="stringliteral">"l00136"</span>></a>00136 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// End of File</span></span> |
|
166 <a name="l00156"></a>00156 <a name=<span class="stringliteral">"l00137"</span>></a>00137 |
|
167 <a name="l00157"></a>00157 </pre></div><hr> |
|
168 <a name="l00158"></a>00158 |
|
169 <a name="l00159"></a>00159 <table x-use-null-cells |
|
170 <a name="l00160"></a>00160 style=<span class="stringliteral">"x-cell-content-align: top;</span> |
|
171 <a name="l00161"></a>00161 <span class="stringliteral"> width: 100%;</span> |
|
172 <a name="l00162"></a>00162 <span class="stringliteral"> border-spacing: 0px;</span> |
|
173 <a name="l00163"></a>00163 <span class="stringliteral"> border-spacing: 0px;"</span> |
|
174 <a name="l00164"></a>00164 cellspacing=0 |
|
175 <a name="l00165"></a>00165 width=100%> |
|
176 <a name="l00166"></a>00166 <col style=<span class="stringliteral">"width: 50%;"</span>> |
|
177 <a name="l00167"></a>00167 <col style=<span class="stringliteral">"width: 50%;"</span>> |
|
178 <a name="l00168"></a>00168 |
|
179 <a name="l00169"></a>00169 <tr style=<span class="stringliteral">"x-cell-content-align: top;"</span> |
|
180 <a name="l00170"></a>00170 valign=top> |
|
181 <a name="l00171"></a>00171 <td style=<span class="stringliteral">"width: 50%;</span> |
|
182 <a name="l00172"></a>00172 <span class="stringliteral"> padding-right: 10px;</span> |
|
183 <a name="l00173"></a>00173 <span class="stringliteral"> padding-left: 10px;</span> |
|
184 <a name="l00174"></a>00174 <span class="stringliteral"> border-right-style: None;</span> |
|
185 <a name="l00175"></a>00175 <span class="stringliteral"> border-left-style: None;</span> |
|
186 <a name="l00176"></a>00176 <span class="stringliteral"> border-top-style: None;</span> |
|
187 <a name="l00177"></a>00177 <span class="stringliteral"> border-bottom-style: None;"</span> |
|
188 <a name="l00178"></a>00178 width=50%> |
|
189 <a name="l00179"></a>00179 <p style=<span class="stringliteral">"font-family: Arial;"</span>><small style=<span class="stringliteral">"font-size: smaller;"</span>>© Nokia 2009</small></td> |
|
190 <a name="l00180"></a>00180 <td style=<span class="stringliteral">"width: 50%;</span> |
|
191 <a name="l00181"></a>00181 <span class="stringliteral"> padding-right: 10px;</span> |
|
192 <a name="l00182"></a>00182 <span class="stringliteral"> padding-left: 10px;</span> |
|
193 <a name="l00183"></a>00183 <span class="stringliteral"> border-top-style: None;</span> |
|
194 <a name="l00184"></a>00184 <span class="stringliteral"> border-bottom-style: None;</span> |
|
195 <a name="l00185"></a>00185 <span class="stringliteral"> border-right-style: None;"</span> |
|
196 <a name="l00186"></a>00186 width=50%> |
|
197 <a name="l00187"></a>00187 <p style=<span class="stringliteral">"text-align: right; margin-right: -4px;"</span> |
|
198 <a name="l00188"></a>00188 align=right><span style=<span class="stringliteral">"font-weight: bold;"</span>><a href=<span class="stringliteral">"#Top"</span> |
|
199 <a name="l00189"></a>00189 title=<span class="stringliteral">"Back to top"</span>><img |
|
200 <a name="l00190"></a>00190 src=<span class="stringliteral">"top.gif"</span> |
|
201 <a name="l00191"></a>00191 x-maintain-ratio=TRUE |
|
202 <a name="l00192"></a>00192 alt=<span class="stringliteral">"Back to top"</span> |
|
203 <a name="l00193"></a>00193 style=<span class="stringliteral">"border: none;</span> |
|
204 <a name="l00194"></a>00194 <span class="stringliteral"> width: 18px;</span> |
|
205 <a name="l00195"></a>00195 <span class="stringliteral"> height: 15px;</span> |
|
206 <a name="l00196"></a>00196 <span class="stringliteral"> float: none;</span> |
|
207 <a name="l00197"></a>00197 <span class="stringliteral"> border-style: none;</span> |
|
208 <a name="l00198"></a>00198 <span class="stringliteral"> border-style: none;"</span> |
|
209 <a name="l00199"></a>00199 width=18 |
|
210 <a name="l00200"></a>00200 height=15 |
|
211 <a name="l00201"></a>00201 border=0></a></span></td></tr> |
|
212 <a name="l00202"></a>00202 </table> |
|
213 <a name="l00203"></a>00203 </body> |
|
214 <a name="l00204"></a>00204 </html> |
|
215 <a name="l00205"></a>00205 |
|
216 </pre></div></div> |
|
217 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
218 <a href="http://www.doxygen.org/index.html"> |
|
219 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
220 </body> |
|
221 </html> |