Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_appview_8h_source.html
Week 28 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 1897 and Bug 1522.
<!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/ForumNokia/Document_Handler_Example/HandlerApp/inc/handlerAppview.h 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/ForumNokia/Document_Handler_Example/HandlerApp/inc/handlerAppview.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ====================================================================</span>
<a name="l00002"></a>00002 <span class="comment"> * File: handlerAppView.h</span>
<a name="l00003"></a>00003 <span class="comment"> * Created: 09/27/05</span>
<a name="l00004"></a>00004 <span class="comment"> * Author: </span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright (c): , All rights reserved</span>
<a name="l00006"></a>00006 <span class="comment"> * ==================================================================== */</span>
<a name="l00007"></a>00007
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef __HANDLER_APPVIEW_H__</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define __HANDLER_APPVIEW_H__</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011
<a name="l00012"></a>00012 <span class="preprocessor">#include <coecntrl.h></span>
<a name="l00013"></a>00013 <span class="preprocessor">#include "Common.h"</span>
<a name="l00014"></a>00014
<a name="l00021"></a><a class="code" href="class_c_handler_app_view.html">00021</a> <span class="keyword">class </span><a class="code" href="class_c_handler_app_view.html">CHandlerAppView</a> : <span class="keyword">public</span> CCoeControl
<a name="l00022"></a>00022 {
<a name="l00023"></a>00023 <span class="keyword">public</span>:
<a name="l00024"></a>00024
<a name="l00032"></a>00032 <span class="keyword">static</span> <a class="code" href="class_c_handler_app_view.html">CHandlerAppView</a>* <a class="code" href="class_c_handler_app_view.html#aa383c5e3fb0d69414cb08975dd5a81d0">NewL</a>(<span class="keyword">const</span> TRect& aRect);
<a name="l00033"></a>00033
<a name="l00041"></a>00041 <span class="keyword">static</span> <a class="code" href="class_c_handler_app_view.html">CHandlerAppView</a>* <a class="code" href="class_c_handler_app_view.html#af4aa36c3aad333180002048b4212db15">NewLC</a>(<span class="keyword">const</span> TRect& aRect);
<a name="l00042"></a>00042
<a name="l00043"></a>00043
<a name="l00049"></a>00049 <a class="code" href="class_c_handler_app_view.html#ae1b92d8e2f8d12580ce391b7e4eac7dd">~CHandlerAppView</a>();
<a name="l00050"></a>00050
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="keyword">public</span>: <span class="comment">// from CCoeControl</span>
<a name="l00059"></a>00059 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="class_c_handler_app_view.html#a9266f9cceee5ca173a77df8b6a03ece7">Draw</a>(<span class="keyword">const</span> TRect& aRect) <span class="keyword">const</span>;
<a name="l00060"></a>00060
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a>00062
<a name="l00063"></a>00063 <span class="keywordtype">void</span> SetFileData(TFileName& aFileName, TDes8& aData);
<a name="l00064"></a>00064
<a name="l00065"></a>00065 <span class="keyword">private</span>:
<a name="l00066"></a>00066
<a name="l00073"></a>00073 <span class="keywordtype">void</span> ConstructL(<span class="keyword">const</span> TRect& aRect);
<a name="l00074"></a>00074
<a name="l00080"></a>00080 <a class="code" href="class_c_handler_app_view.html">CHandlerAppView</a>();
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="keywordtype">void</span> SizeChanged();
<a name="l00083"></a>00083
<a name="l00084"></a>00084 <span class="keyword">private</span>:
<a name="l00085"></a>00085
<a name="l00086"></a>00086 TFileName iName;
<a name="l00087"></a>00087 TBuf<KTextLengthToRead> iData;
<a name="l00088"></a>00088
<a name="l00089"></a>00089 };
<a name="l00090"></a>00090
<a name="l00091"></a>00091
<a name="l00092"></a>00092 <span class="preprocessor">#endif // __HANDLER_APPVIEW_H__</span>
</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>