Changeset 176 in pacpusframework for trunk/src/PacpusLib/XmlComponentConfig.cpp
- Timestamp:
- Oct 11, 2013, 2:10:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/XmlComponentConfig.cpp
r165 r176 8 8 #include <Pacpus/kernel/Log.h> 9 9 #include <Pacpus/kernel/XmlConfigFile.h> 10 #include <QDomNamedNodeMap> 10 11 11 12 using namespace pacpus; … … 37 38 } 38 39 40 QDomNamedNodeMap XmlComponentConfig::getProperties() const 41 { 42 return component_.attributes(); 43 } 44 39 45 void XmlComponentConfig::addProperty(const QString& name) 40 46 { 41 if (hasProperty(name)) 42 { 47 if (hasProperty(name)) { 43 48 LOG_ERROR("cannot add component property:" 44 49 << " component '" << component_.attribute(kPropertyComponentName) << "'"
Note:
See TracChangeset
for help on using the changeset viewer.