|
1 /* |
|
2 * Copyright (c) 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: Decleares signature class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IPSSETDATASIGNATURE_H |
|
20 #define IPSSETDATASIGNATURE_H |
|
21 |
|
22 |
|
23 class CRichText; |
|
24 class CParaFormatLayer; |
|
25 class CCharFormatLayer; |
|
26 |
|
27 /** |
|
28 * Class to store the signature and its format. |
|
29 * |
|
30 * @lib IpsSosSettings.lib |
|
31 * @since FS v1.0 |
|
32 */ |
|
33 class CIpsSetDataSignature : public CBase |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * 2-phase construction. |
|
39 * |
|
40 * @return Signature object. |
|
41 */ |
|
42 static CIpsSetDataSignature* NewL(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CIpsSetDataSignature(); |
|
48 |
|
49 /** |
|
50 * @param aSignature Signature to be copied. |
|
51 */ |
|
52 void CopyL( const CIpsSetDataSignature& aSignature ); |
|
53 |
|
54 /** |
|
55 * Initializes the object. |
|
56 */ |
|
57 void CreateEmptyRichTextL(); |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * 2nd phase of construction. |
|
63 * |
|
64 * @leave For what ever random reason. |
|
65 */ |
|
66 void ConstructL(); |
|
67 |
|
68 /** |
|
69 * Constructor. |
|
70 */ |
|
71 CIpsSetDataSignature(); |
|
72 |
|
73 /** |
|
74 * Another constructor. |
|
75 * |
|
76 * @param aRichText Text for initialization. |
|
77 * @param aParaFormat Formatting, part I |
|
78 * @param aCharFormat Formatting, part II |
|
79 */ |
|
80 CIpsSetDataSignature( |
|
81 CRichText* aRichText, |
|
82 CParaFormatLayer* aParaFormat, |
|
83 CCharFormatLayer* aCharFormat ); |
|
84 |
|
85 public: |
|
86 |
|
87 /** |
|
88 * Stores the text in rich text format |
|
89 * Pwns. |
|
90 */ |
|
91 CRichText* iRichText; |
|
92 |
|
93 /** |
|
94 * Some layer |
|
95 * Pwns. |
|
96 */ |
|
97 CParaFormatLayer* iParaFormatLayer; |
|
98 |
|
99 /** |
|
100 * Some layer for characters. |
|
101 * Pwns. |
|
102 */ |
|
103 CCharFormatLayer* iCharFormatLayer; |
|
104 }; |
|
105 |
|
106 #endif /* IPSSETDATASIGNATURE_H */ |
|
107 |
|
108 // End of File |