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 |
|
32 // ============================ MEMBER FUNCTIONS =============================== |
29 // ============================ MEMBER FUNCTIONS =============================== |
33 |
30 |
34 // ----------------------------------------------------------------------------- |
31 // ----------------------------------------------------------------------------- |
35 // CXnNodePluginIf::CXnNodePluginIf() |
32 // CXnNodePluginIf::CXnNodePluginIf() |
36 // C++ default constructor can NOT contain any code, that |
33 // C++ default constructor can NOT contain any code, that |
208 // CXnNodePluginIf::IsFocusedState |
205 // CXnNodePluginIf::IsFocusedState |
209 // ----------------------------------------------------------------------------- |
206 // ----------------------------------------------------------------------------- |
210 // |
207 // |
211 EXPORT_C TBool CXnNodePluginIf::IsFocusedState() |
208 EXPORT_C TBool CXnNodePluginIf::IsFocusedState() |
212 { |
209 { |
213 return iNode->IsStateSet( KFocus ); |
210 return iNode->IsStateSet( _L8( "focus" ) ); |
214 } |
|
215 |
|
216 // ----------------------------------------------------------------------------- |
|
217 // CXnNodePluginIf::IsEditState |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 EXPORT_C TBool CXnNodePluginIf::IsEditState() |
|
221 { |
|
222 return iNode->IsStateSet( KEdit ); |
|
223 } |
211 } |
224 |
212 |
225 // ----------------------------------------------------------------------------- |
213 // ----------------------------------------------------------------------------- |
226 // CXnNodePluginIf::SetRect |
214 // CXnNodePluginIf::SetRect |
227 // ----------------------------------------------------------------------------- |
215 // ----------------------------------------------------------------------------- |