Changeset 116 in pacpusframework for trunk/src/PacpusLib


Ignore:
Timestamp:
Jun 25, 2013, 1:44:25 PM (11 years ago)
Author:
Marek Kurdej
Message:

Added: PacpusException - base class for all exceptions. DbiteExceptions inherits from it.
Added: PacpusLibConfig.h - dllimport/dllexport clauses separated from pacpus.h.
Update: comments.

Location:
trunk/src/PacpusLib
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/CMakeLists.txt

    r101 r116  
    4848    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h
    4949    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusApplication.h
     50    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusException.h
     51    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusLibConfig.h
    5052    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h
    5153    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h
     
    5658    ./Log.cpp
    5759    ./PacpusApplication.cpp
     60    ./PacpusException.cpp
    5861    ./XmlComponentConfig.cpp
    5962    ./XmlConfigFile.cpp
  • trunk/src/PacpusLib/ComponentManager.cpp

    r91 r116  
    66/// @version    $Id$
    77
     8#include <Pacpus/kernel/ComponentFactoryBase.h>
    89#include <Pacpus/kernel/ComponentManager.h>
    910#include <Pacpus/kernel/ComponentBase.h>
  • trunk/src/PacpusLib/XmlComponentConfig.cpp

    r91 r116  
    5555int XmlComponentConfig::delProperty(const QString& name)
    5656{
    57     if (!hasProperty(name))
    58     {
    59         LOG_WARN("cannot delete compoenent property '" << name << "'"
     57    if (!hasProperty(name)) {
     58        LOG_WARN("cannot delete component property '" << name << "'"
    6059                 << " of component '" << component_.tagName() << "'"
    6160                 << ". Component does not contain this property."
Note: See TracChangeset for help on using the changeset viewer.