|
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/ForumNokia/Document_Handler_Example/HandlerApp/inc/handlerDocument.h 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/ForumNokia/Document_Handler_Example/HandlerApp/inc/handlerDocument.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* ====================================================================</span> |
|
12 <a name="l00002"></a>00002 <span class="comment"> * File: handlerDocument.h</span> |
|
13 <a name="l00003"></a>00003 <span class="comment"> * Created: 09/27/05</span> |
|
14 <a name="l00004"></a>00004 <span class="comment"> * Author: </span> |
|
15 <a name="l00005"></a>00005 <span class="comment"> * Copyright (c): , All rights reserved</span> |
|
16 <a name="l00006"></a>00006 <span class="comment"> * ==================================================================== */</span> |
|
17 <a name="l00007"></a>00007 |
|
18 <a name="l00008"></a>00008 <span class="preprocessor">#ifndef __HANDLER_DOCUMENT_H__</span> |
|
19 <a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define __HANDLER_DOCUMENT_H__</span> |
|
20 <a name="l00010"></a>00010 <span class="preprocessor"></span> |
|
21 <a name="l00011"></a>00011 |
|
22 <a name="l00012"></a>00012 <span class="preprocessor">#include <akndoc.h></span> |
|
23 <a name="l00013"></a>00013 |
|
24 <a name="l00014"></a>00014 <span class="comment">// Forward references</span> |
|
25 <a name="l00015"></a>00015 <span class="keyword">class </span><a class="code" href="class_c_handler_app_ui.html">CHandlerAppUi</a>; |
|
26 <a name="l00016"></a>00016 <span class="keyword">class </span>CEikApplication; |
|
27 <a name="l00017"></a>00017 |
|
28 <a name="l00018"></a>00018 |
|
29 <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 |
|
30 <a name="l00026"></a>00026 { |
|
31 <a name="l00027"></a>00027 <span class="keyword">public</span>: |
|
32 <a name="l00028"></a>00028 |
|
33 <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& aApp); |
|
34 <a name="l00038"></a>00038 |
|
35 <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& aApp); |
|
36 <a name="l00048"></a>00048 |
|
37 <a name="l00054"></a>00054 <a class="code" href="class_c_handler_document.html#adf0699caf9506bb8a8f5371466e0012b">~CHandlerDocument</a>(); |
|
38 <a name="l00055"></a>00055 |
|
39 <a name="l00056"></a>00056 <span class="keyword">public</span>: <span class="comment">// from CAknDocument</span> |
|
40 <a name="l00063"></a>00063 <span class="comment"></span> CEikAppUi* <a class="code" href="class_c_handler_document.html#ab8f0f2c585493c32bf15459cf27fb5d9">CreateAppUiL</a>(); |
|
41 <a name="l00064"></a>00064 |
|
42 <a name="l00065"></a>00065 <span class="keyword">public</span>: <span class="comment">// from CEikDocument</span> |
|
43 <a name="l00066"></a>00066 |
|
44 <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& aFilename,RFs& aFs); |
|
45 <a name="l00076"></a>00076 |
|
46 <a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="class_c_handler_document.html#ad94b2d5d94375cc63a2cc5654c8374b7">OpenFileL</a>(CFileStore*& aFileStore, RFile& aFile); |
|
47 <a name="l00078"></a>00078 |
|
48 <a name="l00079"></a>00079 <span class="keyword">private</span>: |
|
49 <a name="l00080"></a>00080 |
|
50 <a name="l00086"></a>00086 <span class="keywordtype">void</span> ConstructL(); |
|
51 <a name="l00087"></a>00087 |
|
52 <a name="l00088"></a>00088 |
|
53 <a name="l00095"></a>00095 <a class="code" href="class_c_handler_document.html">CHandlerDocument</a>(CEikApplication& aApp); |
|
54 <a name="l00096"></a>00096 |
|
55 <a name="l00097"></a>00097 <span class="keyword">private</span>: |
|
56 <a name="l00098"></a>00098 CEikAppUi* iAppUi; |
|
57 <a name="l00099"></a>00099 |
|
58 <a name="l00100"></a>00100 TFileName iFileName; |
|
59 <a name="l00101"></a>00101 }; |
|
60 <a name="l00102"></a>00102 |
|
61 <a name="l00103"></a>00103 |
|
62 <a name="l00104"></a>00104 <span class="preprocessor">#endif // __HANDLER_DOCUMENT_H__</span> |
|
63 </pre></div></div> |
|
64 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
65 <a href="http://www.doxygen.org/index.html"> |
|
66 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
67 </body> |
|
68 </html> |