|
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_MXMLELEMENTOPT_ |
|
20 #define _INC_MXMLELEMENTOPT_ |
|
21 |
|
22 #if !defined(__E32BASE_H__) |
|
23 #include <e32base.h> |
|
24 #endif |
|
25 |
|
26 const TInt KErrInvalidAttribute = -11; |
|
27 const TInt KErrNoAttribute = -10; |
|
28 |
|
29 class CGfxGeneralPath; |
|
30 class TFloatFixPt; |
|
31 class MSvgStylable; |
|
32 class CSvgElementImpl; |
|
33 |
|
34 |
|
35 /** |
|
36 * Class description goes here. |
|
37 * |
|
38 * @lib SVGEngine.lib |
|
39 * @since 1.0 |
|
40 */ |
|
41 class MXmlElementOpt |
|
42 { |
|
43 public: |
|
44 |
|
45 |
|
46 /** |
|
47 * Need method description |
|
48 * |
|
49 * @since 1.0 |
|
50 * @param |
|
51 * @return |
|
52 */ |
|
53 virtual TInt GetAttributeIntL( const TInt aNameId, TInt32& aValue ) = 0; |
|
54 |
|
55 /** |
|
56 * Need method description |
|
57 * |
|
58 * @since 1.0 |
|
59 * @param |
|
60 * @return |
|
61 */ |
|
62 virtual TInt SetAttributeIntL( const TInt aNameId, |
|
63 const TInt32 aValue ) = 0; |
|
64 |
|
65 |
|
66 /** |
|
67 * Need method description |
|
68 * |
|
69 * @since 1.0 |
|
70 * @param |
|
71 * @return |
|
72 */ |
|
73 virtual TInt GetAttributeFloat( const TInt aNameId, TFloatFixPt& aValue ) = 0; |
|
74 |
|
75 /** |
|
76 * Need method description |
|
77 * |
|
78 * @since 1.0 |
|
79 * @param |
|
80 * @return |
|
81 */ |
|
82 virtual TInt SetAttributeFloatL( const TInt aNameId, |
|
83 const TFloatFixPt aValue ) = 0; |
|
84 |
|
85 |
|
86 /** |
|
87 * Need method description |
|
88 * |
|
89 * @since 1.0 |
|
90 * @param |
|
91 * @return |
|
92 */ |
|
93 virtual TInt GetAttributePath( const TInt aNameId, |
|
94 CGfxGeneralPath*& aValue ) = 0; |
|
95 |
|
96 /** |
|
97 * Need method description |
|
98 * |
|
99 * @since 1.0 |
|
100 * @param |
|
101 * @return |
|
102 */ |
|
103 virtual TInt SetAttributePathL( const TInt aNameId, |
|
104 CGfxGeneralPath* aValue ) = 0; |
|
105 |
|
106 |
|
107 /** |
|
108 * Need method description |
|
109 * |
|
110 * @since 1.0 |
|
111 * @param |
|
112 * @return |
|
113 */ |
|
114 virtual TInt GetAttributeDes( const TInt aNameId, TPtrC16& aValue ) = 0; |
|
115 |
|
116 /** |
|
117 * Need method description |
|
118 * |
|
119 * @since 1.0 |
|
120 * @param |
|
121 * @return |
|
122 */ |
|
123 virtual TInt SetAttributeDesL( const TInt aNameId, |
|
124 const TDesC& aValue ) = 0; |
|
125 |
|
126 |
|
127 /** |
|
128 * Need method description |
|
129 * |
|
130 * @since 1.0 |
|
131 * @param |
|
132 * @return |
|
133 */ |
|
134 |
|
135 }; |
|
136 |
|
137 #endif /* _INC_MXmlElementOpt_ */ |