Changeset 65 in flair-src for branches/mavlink/lib
- Timestamp:
- Aug 23, 2016, 2:50:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mavlink/lib/FlairCore/src/Widget.cpp
r63 r65 20 20 21 21 using std::string; 22 23 //remove, for tests24 #include <iostream>25 22 26 23 namespace flair { … … 230 227 231 228 void Widget::UnsetPersistentXmlProp(std::string prop) { 232 xmlNodePtr Node = pimpl_->file_node; 233 234 for(xmlAttrPtr attr = Node->properties; NULL != attr; attr = attr->next) 235 { 236 std::cout << attr->name << std::endl; 237 } 238 239 int ret = xmlUnsetProp(pimpl_->file_node, (xmlChar *)prop.c_str()); 240 std::cout << "UnsetPersistentXmlProp, item= " << prop << "result = " << ret << std::endl; 241 242 for(xmlAttrPtr attr = Node->properties; NULL != attr; attr = attr->next) 243 { 244 std::cout << attr->name << std::endl; 245 } 229 xmlUnsetProp(pimpl_->file_node, (xmlChar *)prop.c_str()); 246 230 } 247 231
Note:
See TracChangeset
for help on using the changeset viewer.