|
1 /* |
|
2 * Copyright (c) 2003 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: SVG Implementation header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __INC_CSVGURIREFERENCEIMPL__ |
|
20 #define __INC_CSVGURIREFERENCEIMPL__ |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <badesca.h> |
|
24 |
|
25 #include "SVGUriReference.h" |
|
26 |
|
27 /// Implements Xlink interface. Elements implementing this interface should |
|
28 /// provide wrappers. Note that not all SVG elements implement this interface |
|
29 /// in SVG DOM. |
|
30 |
|
31 |
|
32 /** |
|
33 * Class description goes here. |
|
34 * |
|
35 * @lib SVGEngine.lib |
|
36 * @since 1.0 |
|
37 */ |
|
38 class CSvgUriReferenceImpl : public CBase, public MSvgUriReference |
|
39 { |
|
40 public: |
|
41 |
|
42 |
|
43 /** |
|
44 * Need method description |
|
45 * |
|
46 * @since 1.0 |
|
47 * @param |
|
48 * @return |
|
49 */ |
|
50 static CSvgUriReferenceImpl* NewL(); |
|
51 |
|
52 |
|
53 /** |
|
54 * Need method description |
|
55 * |
|
56 * @since 1.0 |
|
57 * @param |
|
58 * @return |
|
59 */ |
|
60 static CSvgUriReferenceImpl* NewLC(); |
|
61 |
|
62 |
|
63 /** |
|
64 * Need method description |
|
65 * |
|
66 * @since 1.0 |
|
67 * @param |
|
68 * @return |
|
69 */ |
|
70 ~CSvgUriReferenceImpl(); |
|
71 |
|
72 |
|
73 /** |
|
74 * Need method description |
|
75 * |
|
76 * @since 1.0 |
|
77 * @param |
|
78 * @return |
|
79 */ |
|
80 const TDesC& XlinkActuate(); |
|
81 |
|
82 |
|
83 /** |
|
84 * Need method description |
|
85 * |
|
86 * @since 1.0 |
|
87 * @param |
|
88 * @return |
|
89 */ |
|
90 const TDesC& XlinkArcrole(); |
|
91 |
|
92 |
|
93 /** |
|
94 * Need method description |
|
95 * |
|
96 * @since 1.0 |
|
97 * @param |
|
98 * @return |
|
99 */ |
|
100 const TDesC& XlinkRole(); |
|
101 |
|
102 |
|
103 /** |
|
104 * Need method description |
|
105 * |
|
106 * @since 1.0 |
|
107 * @param |
|
108 * @return |
|
109 */ |
|
110 const TDesC& XlinkShow(); |
|
111 |
|
112 |
|
113 /** |
|
114 * Need method description |
|
115 * |
|
116 * @since 1.0 |
|
117 * @param |
|
118 * @return |
|
119 */ |
|
120 const TDesC& XlinkTitle(); |
|
121 |
|
122 |
|
123 /** |
|
124 * Need method description |
|
125 * |
|
126 * @since 1.0 |
|
127 * @param |
|
128 * @return |
|
129 */ |
|
130 const TDesC& XlinkType(); |
|
131 |
|
132 |
|
133 /** |
|
134 * Need method description |
|
135 * |
|
136 * @since 1.0 |
|
137 * @param |
|
138 * @return |
|
139 */ |
|
140 const TDesC& XlinkHref(); |
|
141 |
|
142 |
|
143 /** |
|
144 * Need method description |
|
145 * |
|
146 * @since 1.0 |
|
147 * @param |
|
148 * @return |
|
149 */ |
|
150 const TDesC& Href(); // for the SVG DOM |
|
151 |
|
152 TDesC* HrefPointer(); |
|
153 |
|
154 // Implementation |
|
155 |
|
156 |
|
157 /** |
|
158 * Need method description |
|
159 * |
|
160 * @since 1.0 |
|
161 * @param |
|
162 * @return |
|
163 */ |
|
164 TBool SetXlinkAttributeL( const TDesC& aPropertyName, |
|
165 const TDesC& aValue ); |
|
166 |
|
167 /** |
|
168 * Need method description |
|
169 * |
|
170 * @since 1.0 |
|
171 * @param |
|
172 * @return |
|
173 */ |
|
174 CSvgUriReferenceImpl* CloneL(); |
|
175 |
|
176 TInt SetUriRefDesL( const TUint16 aPropertyName, |
|
177 const TDesC& aValue ); |
|
178 |
|
179 |
|
180 private: |
|
181 |
|
182 |
|
183 /** |
|
184 * Need method description |
|
185 * |
|
186 * @since 1.0 |
|
187 * @param |
|
188 * @return |
|
189 */ |
|
190 void ConstructL(); |
|
191 |
|
192 HBufC* iXlinkActuate; |
|
193 HBufC* iXlinkArcrole; |
|
194 HBufC* iXlinkRole; |
|
195 HBufC* iXlinkShow; |
|
196 HBufC* iXlinkTitle; |
|
197 HBufC* iXlinkType; |
|
198 HBufC* iXlinkHref; |
|
199 }; |
|
200 |
|
201 #endif /* __INC_CSVGURIReferenceImpl__ */ |