Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_document_8h_source.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!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/handlerDocument.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/handlerDocument.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: handlerDocument.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_DOCUMENT_H__</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define __HANDLER_DOCUMENT_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 &lt;akndoc.h&gt;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="comment">// Forward references</span>
<a name="l00015"></a>00015 <span class="keyword">class </span><a class="code" href="class_c_handler_app_ui.html">CHandlerAppUi</a>;
<a name="l00016"></a>00016 <span class="keyword">class </span>CEikApplication;
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 
<a name="l00025"></a><a class="code" href="class_c_handler_document.html">00025</a> <span class="keyword">class </span><a class="code" href="class_c_handler_document.html">CHandlerDocument</a> : <span class="keyword">public</span> CAknDocument
<a name="l00026"></a>00026     {
<a name="l00027"></a>00027 <span class="keyword">public</span>:
<a name="l00028"></a>00028 
<a name="l00037"></a>00037     <span class="keyword">static</span> <a class="code" href="class_c_handler_document.html">CHandlerDocument</a>* <a class="code" href="class_c_handler_document.html#ae7efc152a5fa2151d04036971f7f1135">NewL</a>(CEikApplication&amp; aApp);
<a name="l00038"></a>00038 
<a name="l00047"></a>00047     <span class="keyword">static</span> <a class="code" href="class_c_handler_document.html">CHandlerDocument</a>* <a class="code" href="class_c_handler_document.html#ac847fa1ca4f5147fc03a1e56efbbbbbf">NewLC</a>(CEikApplication&amp; aApp);
<a name="l00048"></a>00048 
<a name="l00054"></a>00054     <a class="code" href="class_c_handler_document.html#adf0699caf9506bb8a8f5371466e0012b">~CHandlerDocument</a>();
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">public</span>: <span class="comment">// from CAknDocument</span>
<a name="l00063"></a>00063 <span class="comment"></span>    CEikAppUi* <a class="code" href="class_c_handler_document.html#ab8f0f2c585493c32bf15459cf27fb5d9">CreateAppUiL</a>();
<a name="l00064"></a>00064     
<a name="l00065"></a>00065 <span class="keyword">public</span>: <span class="comment">// from CEikDocument</span>
<a name="l00066"></a>00066         
<a name="l00075"></a>00075     CFileStore* <a class="code" href="class_c_handler_document.html#ad94b2d5d94375cc63a2cc5654c8374b7">OpenFileL</a>(TBool aDoOpen,<span class="keyword">const</span> TDesC&amp; aFilename,RFs&amp; aFs);    
<a name="l00076"></a>00076 
<a name="l00077"></a>00077     <span class="keywordtype">void</span> <a class="code" href="class_c_handler_document.html#ad94b2d5d94375cc63a2cc5654c8374b7">OpenFileL</a>(CFileStore*&amp; aFileStore, RFile&amp; aFile);
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 <span class="keyword">private</span>:
<a name="l00080"></a>00080 
<a name="l00086"></a>00086     <span class="keywordtype">void</span> ConstructL();
<a name="l00087"></a>00087     
<a name="l00088"></a>00088 
<a name="l00095"></a>00095     <a class="code" href="class_c_handler_document.html">CHandlerDocument</a>(CEikApplication&amp; aApp);
<a name="l00096"></a>00096     
<a name="l00097"></a>00097 <span class="keyword">private</span>:
<a name="l00098"></a>00098     CEikAppUi* iAppUi;
<a name="l00099"></a>00099     
<a name="l00100"></a>00100     TFileName iFileName;
<a name="l00101"></a>00101     };
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 
<a name="l00104"></a>00104 <span class="preprocessor">#endif // __HANDLER_DOCUMENT_H__</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>