Changeset 162 in pacpusframework for branches/2.0-beta1/src/PacpusLib


Ignore:
Timestamp:
08/01/13 16:46:07 (11 years ago)
Author:
Marek Kurdej
Message:

Update: merged changes from trunk.

Location:
branches/2.0-beta1/src/PacpusLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusLib/ComponentManager.cpp

    r153 r162  
    33// CECILL-C License, Version 1.0.
    44// %pacpus:license}
     5/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
    56/// @version    $Id: ComponentManager.cpp 76 2013-01-10 17:05:10Z kurdejma $
    67
     8#include <Pacpus/kernel/ComponentFactoryBase.h>
    79#include <Pacpus/kernel/ComponentManager.h>
    810#include <Pacpus/kernel/ComponentBase.h>
     
    1012#include <Pacpus/kernel/Log.h>
    1113#include <QObject>
    12 
    1314#include <QDomNodeList>
    1415
  • branches/2.0-beta1/src/PacpusLib/PacpusApplication.cpp

    r141 r162  
    99/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
    1010
    11 #include <Pacpus/kernel/DbiteException.h>
    1211#include <Pacpus/kernel/Log.h>
    1312#include <Pacpus/kernel/PacpusApplication.h>
     13#include <Pacpus/kernel/PacpusException.h>
    1414
    1515using namespace pacpus;
     
    8383    try {
    8484        return QApplication::notify(receiver, ev);
    85     } catch(DbiteException & e) {
     85    } catch(PacpusException & e) {
    8686        (void) e; // unused
    87         LOG_ERROR("DbiteException thrown:" << e.what());
     87        LOG_ERROR("PacpusException thrown:" << e.what());
    8888    } catch(std::exception & e) {
    8989        (void) e; // unused
  • branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp

    r110 r162  
    1414DECLARE_STATIC_LOGGER("pacpus.core.XmlComponentConfig");
    1515
     16// FIXME: const char* instead of const string
    1617static const string kPropertyComponentName = "name";
    1718static const string kPropertyComponentType = "type";
     
    6364int XmlComponentConfig::delProperty(const QString& name)
    6465{
    65     if (!hasProperty(name))
    66     {
     66    if (!hasProperty(name)) {
    6767        LOG_WARN("cannot delete compoenent property '" << name << "'"
    6868                 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'"
Note: See TracChangeset for help on using the changeset viewer.