Changeset 162 in pacpusframework for branches/2.0-beta1/src/PacpusLib
- Timestamp:
- Aug 1, 2013, 4:46:07 PM (11 years ago)
- Location:
- branches/2.0-beta1/src/PacpusLib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/PacpusLib/ComponentManager.cpp
r153 r162 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 6 /// @version $Id: ComponentManager.cpp 76 2013-01-10 17:05:10Z kurdejma $ 6 7 8 #include <Pacpus/kernel/ComponentFactoryBase.h> 7 9 #include <Pacpus/kernel/ComponentManager.h> 8 10 #include <Pacpus/kernel/ComponentBase.h> … … 10 12 #include <Pacpus/kernel/Log.h> 11 13 #include <QObject> 12 13 14 #include <QDomNodeList> 14 15 -
branches/2.0-beta1/src/PacpusLib/PacpusApplication.cpp
r141 r162 9 9 /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. 10 10 11 #include <Pacpus/kernel/DbiteException.h>12 11 #include <Pacpus/kernel/Log.h> 13 12 #include <Pacpus/kernel/PacpusApplication.h> 13 #include <Pacpus/kernel/PacpusException.h> 14 14 15 15 using namespace pacpus; … … 83 83 try { 84 84 return QApplication::notify(receiver, ev); 85 } catch( DbiteException & e) {85 } catch(PacpusException & e) { 86 86 (void) e; // unused 87 LOG_ERROR(" DbiteException thrown:" << e.what());87 LOG_ERROR("PacpusException thrown:" << e.what()); 88 88 } catch(std::exception & e) { 89 89 (void) e; // unused -
branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp
r110 r162 14 14 DECLARE_STATIC_LOGGER("pacpus.core.XmlComponentConfig"); 15 15 16 // FIXME: const char* instead of const string 16 17 static const string kPropertyComponentName = "name"; 17 18 static const string kPropertyComponentType = "type"; … … 63 64 int XmlComponentConfig::delProperty(const QString& name) 64 65 { 65 if (!hasProperty(name)) 66 { 66 if (!hasProperty(name)) { 67 67 LOG_WARN("cannot delete compoenent property '" << name << "'" 68 68 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'"
Note:
See TracChangeset
for help on using the changeset viewer.