equal
deleted
inserted
replaced
|
1 /* |
|
2 ============================================================================ |
|
3 Name : NPRHtmlCreator.h |
|
4 Author : Symsource |
|
5 |
|
6 Copyright (c) 2009 Symbian Foundation Ltd |
|
7 This component and the accompanying materials are made available |
|
8 under the terms of the License "Eclipse Public License v1.0" |
|
9 which accompanies this distribution, and is available |
|
10 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
11 |
|
12 Initial Contributors: |
|
13 - Symbian Foundation Ltd - initial contribution. |
|
14 |
|
15 Contributors: |
|
16 - Symsource |
|
17 |
|
18 Description : HTML composer |
|
19 ============================================================================ |
|
20 */ |
|
21 |
|
22 #ifndef _NPR_HTML_CREATOR_H |
|
23 #define _NPR_HTML_CREATOR_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32std.h> |
|
27 #include <e32base.h> |
|
28 #include <f32file.h> |
|
29 |
|
30 // CLASS DECLARATION |
|
31 class CNPRStory; |
|
32 |
|
33 /** |
|
34 * CNPRHtmlCreator |
|
35 * |
|
36 */ |
|
37 class CNPRHtmlCreator : public CBase |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Two-phased constructor. |
|
42 */ |
|
43 static CNPRHtmlCreator* NewL(); |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 */ |
|
48 static CNPRHtmlCreator* NewLC(); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 ~CNPRHtmlCreator(); |
|
54 |
|
55 public: |
|
56 /** |
|
57 * Create the HTML file in the c:/data/npr directory |
|
58 */ |
|
59 void CreateHtmlFileL(CNPRStory* aStory); |
|
60 |
|
61 private: |
|
62 /** |
|
63 * EPOC default constructor for performing 2nd stage construction |
|
64 */ |
|
65 void ConstructL(); |
|
66 |
|
67 private: |
|
68 //Member variables |
|
69 RFs iFs; |
|
70 static TInt iCurrentImage; |
|
71 }; |
|
72 |
|
73 #endif // _NPR_HTML_CREATOR_H |