Changeset 312 in pacpusframework for trunk/include/Pacpus/kernel/ComponentBase.h


Ignore:
Timestamp:
07/28/14 16:11:30 (10 years ago)
Author:
Marek Kurdej
Message:

ComponentBase: added addParameter.

File:
1 edited

Legend:

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

    r290 r312  
    139139    /// Returns an object permitting to add component parameters.
    140140    boost::program_options::options_description_easy_init addParameters();
    141    
     141    void addParameter(const char* name, const char* description);
     142    void addParameter(const char* name, const boost::program_options::value_semantic* s);
     143    void addParameter(const char* name, const boost::program_options::value_semantic* s, const char* description);
     144
    142145protected:
    143146    typedef QMap<QString, InputSharedPointer> InputsMap;
Note: See TracChangeset for help on using the changeset viewer.