Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/cssyncapplication__8cpp-source_8html_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: examples/S60CppExamples/ClientServerSync/doc/cssyncapplication_8cpp-source.html Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<h1>examples/S60CppExamples/ClientServerSync/doc/cssyncapplication_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>>
<a name="l00002"></a>00002 <html>
<a name="l00003"></a>00003
<a name="l00004"></a>00004 <head>
<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>>
<a name="l00006"></a>00006 <title>cssyncapplication.cpp Source File</title>
<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>>
<a name="l00008"></a>00008 </head>
<a name="l00009"></a>00009
<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>>
<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>
<a name="l00012"></a>00012 S60 5th Edition SDK </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table>
<a name="l00013"></a>00013 <!-- Generated by Doxygen 1.4.5 -->
<a name="l00014"></a>00014 <div <span class="keyword">class</span>=<span class="stringliteral">"tabs"</span>>
<a name="l00015"></a>00015 <ul>
<a name="l00016"></a>00016 <li><a href=<span class="stringliteral">"index.html"</span>><span>Main&nbsp;Page</span></a></li>
<a name="l00017"></a>00017 <li><a href=<span class="stringliteral">"annotated.html"</span>><span>Classes</span></a></li>
<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>
<a name="l00019"></a>00019 </ul></div>
<a name="l00020"></a>00020 <h1>cssyncapplication.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>
<a name="l00021"></a>00021 <span class="comment"><a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span></span>
<a name="l00022"></a>00022 <span class="comment"><a name="l00003"></a>00003 <span class="comment">* Name : cssyncapplication.cpp</span></span>
<a name="l00023"></a>00023 <span class="comment"><a name="l00004"></a>00004 <span class="comment">* Part of : CSSync</span></span>
<a name="l00024"></a>00024 <span class="comment"><a name="l00005"></a>00005 <span class="comment">* Interface :</span></span>
<a name="l00025"></a>00025 <span class="comment"><a name="l00006"></a>00006 <span class="comment">* Description :</span></span>
<a name="l00026"></a>00026 <span class="comment"><a name="l00007"></a>00007 <span class="comment">* Version :</span></span>
<a name="l00027"></a>00027 <span class="comment"><a name="l00008"></a>00008 <span class="comment">*</span></span>
<a name="l00028"></a>00028 <span class="comment"><a name="l00009"></a>00009 <span class="comment">* Copyright (c) 2006 Nokia Corporation.</span></span>
<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>
<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>
<a name="l00031"></a>00031 <span class="comment"><a name="l00012"></a>00012 <span class="comment">* Nokia Corporation.</span></span>
<a name="l00032"></a>00032 <span class="comment"><a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span></span>
<a name="l00033"></a>00033 <span class="comment"><a name="l00014"></a>00014 <span class="comment">*/</span></span>
<a name="l00034"></a>00034 <a name=<span class="stringliteral">"l00015"</span>></a>00015
<a name="l00035"></a>00035 <a name=<span class="stringliteral">"l00016"</span>></a>00016
<a name="l00036"></a>00036 <a name=<span class="stringliteral">"l00017"</span>></a>00017 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// INCLUDE FILES</span></span>
<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">"CSSyncDocument.h"</span></span>
<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">"CSSyncApplication.h"</span></span>
<a name="l00039"></a>00039 <a name=<span class="stringliteral">"l00020"</span>></a>00020
<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>
<a name="l00041"></a>00041 <a name=<span class="stringliteral">"l00022"</span>></a>00022
<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>
<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">// CCSSyncApplication::CreateDocumentL()</span></span>
<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">// Creates a CSSync document, and return a pointer to it</span></span>
<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>
<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>
<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_sync_application.html#0a048c97a8c1868d0e1e5daf2838bcab"</span>>00028</a> CApaDocument* <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_sync_application.html#0a048c97a8c1868d0e1e5daf2838bcab"</span>><a class="code" href="class_c_c_s_sync_application.html#aea99d8e729c40640985ca1294a7bd822">CCSSyncApplication::CreateDocumentL</a></a>()
<a name="l00048"></a>00048 <a name=<span class="stringliteral">"l00029"</span>></a>00029 {
<a name="l00049"></a>00049 <a name=<span class="stringliteral">"l00030"</span>></a>00030 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span>( static_cast&lt;CApaDocument*&gt;( <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_sync_document.html#97d8413d74643854e05e60e11a177553"</span>><a class="code" href="class_c_c_s_sync_document.html#aec1b39314506d58e5104cac0deb1b342">CCSSyncDocument::NewL</a></a>( *<span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>><span class="keyword">this</span></span> ) ) );
<a name="l00050"></a>00050 <a name=<span class="stringliteral">"l00031"</span>></a>00031 }
<a name="l00051"></a>00051 <a name=<span class="stringliteral">"l00032"</span>></a>00032
<a name="l00052"></a>00052 <a name=<span class="stringliteral">"l00033"</span>></a>00033 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// -----------------------------------------------------------------------------</span></span>
<a name="l00053"></a>00053 <a name=<span class="stringliteral">"l00034"</span>></a>00034 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// CCSSyncApplication::AppDllUid()</span></span>
<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">// Return the UID for the CSSync application</span></span>
<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">// -----------------------------------------------------------------------------</span></span>
<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">//</span></span>
<a name="l00057"></a>00057 <a name=<span class="stringliteral">"l00038"</span>></a><a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_sync_application.html#266a6db7f5728454ee8b7a9c5f517dca"</span>>00038</a> TUid <a <span class="keyword">class</span>=<span class="stringliteral">"code"</span> href=<span class="stringliteral">"class_c_c_s_sync_application.html#266a6db7f5728454ee8b7a9c5f517dca"</span>><a class="code" href="class_c_c_s_sync_application.html#a457ac451350be21c3cfa8c5893a604f7">CCSSyncApplication::AppDllUid</a></a>()<span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> const</span>
<a name="l00058"></a>00058 <a name=<span class="stringliteral">"l00039"</span>></a>00039 <span <span class="keyword">class</span>=<span class="stringliteral">"keyword"</span>> </span>{
<a name="l00059"></a>00059 <a name=<span class="stringliteral">"l00040"</span>></a>00040 <span <span class="keyword">class</span>=<span class="stringliteral">"keywordflow"</span>><span class="keywordflow">return</span></span> KUidCSSyncApp;
<a name="l00060"></a>00060 <a name=<span class="stringliteral">"l00041"</span>></a>00041 }
<a name="l00061"></a>00061 <a name=<span class="stringliteral">"l00042"</span>></a>00042
<a name="l00062"></a>00062 <a name=<span class="stringliteral">"l00043"</span>></a>00043
<a name="l00063"></a>00063 <a name=<span class="stringliteral">"l00044"</span>></a>00044 <span <span class="keyword">class</span>=<span class="stringliteral">"comment"</span>><span class="comment">// End of File</span></span>
<a name="l00064"></a>00064 </pre></div><hr>
<a name="l00065"></a>00065
<a name="l00066"></a>00066 <table x-use-null-cells
<a name="l00067"></a>00067 style=<span class="stringliteral">"x-cell-content-align: top;</span>
<a name="l00068"></a>00068 <span class="stringliteral"> width: 100%;</span>
<a name="l00069"></a>00069 <span class="stringliteral"> border-spacing: 0px;</span>
<a name="l00070"></a>00070 <span class="stringliteral"> border-spacing: 0px;"</span>
<a name="l00071"></a>00071 cellspacing=0
<a name="l00072"></a>00072 width=100%>
<a name="l00073"></a>00073 <col style=<span class="stringliteral">"width: 50%;"</span>>
<a name="l00074"></a>00074 <col style=<span class="stringliteral">"width: 50%;"</span>>
<a name="l00075"></a>00075
<a name="l00076"></a>00076 <tr style=<span class="stringliteral">"x-cell-content-align: top;"</span>
<a name="l00077"></a>00077 valign=top>
<a name="l00078"></a>00078 <td style=<span class="stringliteral">"width: 50%;</span>
<a name="l00079"></a>00079 <span class="stringliteral"> padding-right: 10px;</span>
<a name="l00080"></a>00080 <span class="stringliteral"> padding-left: 10px;</span>
<a name="l00081"></a>00081 <span class="stringliteral"> border-right-style: None;</span>
<a name="l00082"></a>00082 <span class="stringliteral"> border-left-style: None;</span>
<a name="l00083"></a>00083 <span class="stringliteral"> border-top-style: None;</span>
<a name="l00084"></a>00084 <span class="stringliteral"> border-bottom-style: None;"</span>
<a name="l00085"></a>00085 width=50%>
<a name="l00086"></a>00086 <p style=<span class="stringliteral">"font-family: Arial;"</span>><small style=<span class="stringliteral">"font-size: smaller;"</span>>© Nokia 2009</small></td>
<a name="l00087"></a>00087 <td style=<span class="stringliteral">"width: 50%;</span>
<a name="l00088"></a>00088 <span class="stringliteral"> padding-right: 10px;</span>
<a name="l00089"></a>00089 <span class="stringliteral"> padding-left: 10px;</span>
<a name="l00090"></a>00090 <span class="stringliteral"> border-top-style: None;</span>
<a name="l00091"></a>00091 <span class="stringliteral"> border-bottom-style: None;</span>
<a name="l00092"></a>00092 <span class="stringliteral"> border-right-style: None;"</span>
<a name="l00093"></a>00093 width=50%>
<a name="l00094"></a>00094 <p style=<span class="stringliteral">"text-align: right; margin-right: -4px;"</span>
<a name="l00095"></a>00095 align=right><span style=<span class="stringliteral">"font-weight: bold;"</span>><a href=<span class="stringliteral">"#Top"</span>
<a name="l00096"></a>00096 title=<span class="stringliteral">"Back to top"</span>><img
<a name="l00097"></a>00097 src=<span class="stringliteral">"top.gif"</span>
<a name="l00098"></a>00098 x-maintain-ratio=TRUE
<a name="l00099"></a>00099 alt=<span class="stringliteral">"Back to top"</span>
<a name="l00100"></a>00100 style=<span class="stringliteral">"border: none;</span>
<a name="l00101"></a>00101 <span class="stringliteral"> width: 18px;</span>
<a name="l00102"></a>00102 <span class="stringliteral"> height: 15px;</span>
<a name="l00103"></a>00103 <span class="stringliteral"> float: none;</span>
<a name="l00104"></a>00104 <span class="stringliteral"> border-style: none;</span>
<a name="l00105"></a>00105 <span class="stringliteral"> border-style: none;"</span>
<a name="l00106"></a>00106 width=18
<a name="l00107"></a>00107 height=15
<a name="l00108"></a>00108 border=0></a></span></td></tr>
<a name="l00109"></a>00109 </table>
<a name="l00110"></a>00110 </body>
<a name="l00111"></a>00111 </html>
<a name="l00112"></a>00112
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>