equal
deleted
inserted
replaced
24 #include "xnproperty.h" |
24 #include "xnproperty.h" |
25 #include "xntype.h" |
25 #include "xntype.h" |
26 #include "xndomdocument.h" |
26 #include "xndomdocument.h" |
27 #include "xnodt.h" |
27 #include "xnodt.h" |
28 |
28 |
|
29 _LIT8( KFocus, "focus" ); |
|
30 _LIT8( KEdit, "edit" ); |
|
31 |
29 // ============================ MEMBER FUNCTIONS =============================== |
32 // ============================ MEMBER FUNCTIONS =============================== |
30 |
33 |
31 // ----------------------------------------------------------------------------- |
34 // ----------------------------------------------------------------------------- |
32 // CXnNodePluginIf::CXnNodePluginIf() |
35 // CXnNodePluginIf::CXnNodePluginIf() |
33 // C++ default constructor can NOT contain any code, that |
36 // C++ default constructor can NOT contain any code, that |
205 // CXnNodePluginIf::IsFocusedState |
208 // CXnNodePluginIf::IsFocusedState |
206 // ----------------------------------------------------------------------------- |
209 // ----------------------------------------------------------------------------- |
207 // |
210 // |
208 EXPORT_C TBool CXnNodePluginIf::IsFocusedState() |
211 EXPORT_C TBool CXnNodePluginIf::IsFocusedState() |
209 { |
212 { |
210 return iNode->IsStateSet( _L8( "focus" ) ); |
213 return iNode->IsStateSet( KFocus ); |
|
214 } |
|
215 |
|
216 // ----------------------------------------------------------------------------- |
|
217 // CXnNodePluginIf::IsEditState |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 EXPORT_C TBool CXnNodePluginIf::IsEditState() |
|
221 { |
|
222 return iNode->IsStateSet( KEdit ); |
211 } |
223 } |
212 |
224 |
213 // ----------------------------------------------------------------------------- |
225 // ----------------------------------------------------------------------------- |
214 // CXnNodePluginIf::SetRect |
226 // CXnNodePluginIf::SetRect |
215 // ----------------------------------------------------------------------------- |
227 // ----------------------------------------------------------------------------- |