equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CTEMPLATEDATA_H |
|
20 #define CTEMPLATEDATA_H |
|
21 |
|
22 #include <e32std.h> |
|
23 #include <fbs.h> |
|
24 |
|
25 /** |
|
26 * |
|
27 * Encapsulates the data of a single template |
|
28 * |
|
29 */ |
|
30 class CTemplateData |
|
31 : public CBase |
|
32 { |
|
33 public: // Constructors and destructors |
|
34 |
|
35 /** |
|
36 * Standard two-phase constructor |
|
37 */ |
|
38 static CTemplateData* NewLC(); |
|
39 |
|
40 /** |
|
41 * Standard two-phase constructor |
|
42 */ |
|
43 static CTemplateData* NewL(); |
|
44 |
|
45 /** |
|
46 * Destructor |
|
47 */ |
|
48 virtual ~CTemplateData(); |
|
49 |
|
50 protected: // Constructors and destructors |
|
51 |
|
52 /** |
|
53 * Constructor |
|
54 */ |
|
55 CTemplateData(); |
|
56 |
|
57 public: // New methods |
|
58 |
|
59 /** |
|
60 * Clones the template data and returns it |
|
61 * |
|
62 * @return cloned instance of the template data class instance |
|
63 */ |
|
64 CTemplateData* CloneL(); |
|
65 |
|
66 public: // Data |
|
67 |
|
68 // Uid for the template, passed to the |
|
69 // engine, when the template is activated on |
|
70 // print preview |
|
71 TInt iUid; |
|
72 }; |
|
73 |
|
74 #endif // CTEMPLATEDATA_H |
|
75 |
|
76 // End of File |