Changeset 117 in pacpusframework for trunk/include


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

Removed FileLib dependency in PacpusLib (using PacpusException instead of DbiteException).

Location:
trunk/include/Pacpus/kernel
Files:
2 edited

Legend:

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

    r116 r117  
    5353    /// Ctor of ComponentFactory, initialize the factory of the components of type @em T.
    5454    /// @param type Name of the type of the components.
    55     ComponentFactory(const QString& type);
     55    ComponentFactory(const QString & type);
    5656
    5757    /// Dtor of ComponentFactory.
     
    6060    /// Gets the name of the type of the components.
    6161    /// @returns Name of the type of the components.
    62     const QString& getType() const;
     62    const QString & getType() const;
    6363
    6464protected:
    65     virtual ComponentBase* instantiateComponent(const QString& name);
     65    virtual ComponentBase * instantiateComponent(const QString& name);
    6666
    6767private:
     
    8989
    9090template<typename T>
    91 ComponentBase* ComponentFactory<T>::instantiateComponent(const QString& name)
     91ComponentBase * ComponentFactory<T>::instantiateComponent(const QString & name)
    9292{
    9393    return new T(name);
     
    9696} // namespace pacpus
    9797
    98 #endif // DEF_PACPUS_DBITEEXCEPTION_H
     98#endif // DEF_PACPUS_COMPONENTFACTORY_H
  • trunk/include/Pacpus/kernel/DbiteException.h

    r116 r117  
    2323namespace pacpus {
    2424
    25 /// DbiteException
    26 /// @brief Exception thrown when an error manipulation a dbite file occured.
     25/// Exception thrown when an error during manipulation a dbite file occurs.
    2726class FILELIB_API DbiteException
    2827    : virtual public PacpusException
Note: See TracChangeset for help on using the changeset viewer.