Changeset 78 in pacpusframework for trunk/include/Pacpus


Ignore:
Timestamp:
Jan 12, 2013, 9:21:15 PM (12 years ago)
Author:
sgosseli
Message:

Major: fix return types in XmlComponentConfig.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/XmlComponentConfig.h

    r76 r78  
    1 // %pacpus:license{
    2 // This file is part of the PACPUS framework distributed under the
    3 // CECILL-C License, Version 1.0.
    4 // %pacpus:license}
    5 /// @file
    6 /// @author  Gerald Dherbomez <firstname.surname@utc.fr>
    7 /// @date    January, 2006
    8 /// @version $Id$
    9 /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
    10 /// @brief Brief description.
    11 ///
    12 /// Purpose:    definit la structure XML des paramètres de configuration
    13 ///             d'un composant
     1/*********************************************************************
     2//
     3// created:    2006/01/30 - 10:58
     4//
     5// filename:   xmlcomponentconfig.h
     6//
     7// author:     Gerald Dherbomez
     8//
     9// purpose:    definit la structure XML des paramètres de configuration
     10//             d'un composant
     11*********************************************************************/
    1412
    15 #ifndef DEF_PACPUS_XMLCOMPONENTCONFIG_H
    16 #define DEF_PACPUS_XMLCOMPONENTCONFIG_H
     13#ifndef XMLCOMPONENTCONFIG_H
     14#define XMLCOMPONENTCONFIG_H
    1715
    18 #include <Pacpus/kernel/pacpus.h>
     16#include "pacpus.h"
    1917
    2018#include <QDomElement>
     
    6159     * @return Value of the property, @em defaultValue otherwise.
    6260     */
    63     int getBoolProperty(const QString& name, bool defaultValue = false) const;
     61    bool getBoolProperty(const QString& name, bool defaultValue = false) const;
    6462
    6563    /** Get the value of a property as an integer.
     
    7573     * @return Value of the property, @em defaultValue otherwise.
    7674     */
    77     int getDoubleProperty(const QString& name, double defaultValue = 0.0) const;
     75    double getDoubleProperty(const QString& name, double defaultValue = 0.0) const;
    7876
    7977    /** Set the value of a property.
     
    106104} // namespace pacpus
    107105
    108 #endif // DEF_PACPUS_XMLCOMPONENTCONFIG_H
     106#endif // XMLCOMPONENTCONFIG_H
Note: See TracChangeset for help on using the changeset viewer.