Changeset 192 in pacpusframework
- Timestamp:
- Oct 24, 2013, 3:32:18 PM (11 years ago)
- Location:
- trunk/src/_NewComponent
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/_NewComponent/NewComponent.cpp.in
r147 r192 6 6 #include "@PACPUS_COMPONENT_NAME@.h" 7 7 8 #include <Pacpus/kernel/ComponentFactory.h> 8 9 #include <Pacpus/kernel/Log.h> 9 10 … … 23 24 { 24 25 LOG_TRACE("constructor(" << name << ")"); 26 27 namespace po = boost::program_options; 28 //addParameters() 29 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->required(), "parameter description") 30 //("parameter-name", po::value<ParameterType>(&mParameterVariable)->default_value(0), "parameter description") 31 //; 25 32 } 26 33 … … 44 51 ComponentBase::COMPONENT_CONFIGURATION @PACPUS_COMPONENT_NAME@::configureComponent(XmlComponentConfig config) 45 52 { 46 recording = config.getIntProperty("verbose", kDefaultVerboseLevel);47 recording = config.getBoolProperty("recording");48 49 53 return ComponentBase::CONFIGURED_OK; 50 54 } -
trunk/src/_NewComponent/NewComponent.h.in
r147 r192 24 24 25 25 class @PACPUS_COMPONENT_NAME_CAPS@_API @PACPUS_COMPONENT_NAME@ 26 : public ComponentBase 26 // : public QObject 27 // , public ComponentBase // must be after QObject 28 : public ComponentBase 27 29 { 28 30 //Q_OBJECT
Note:
See TracChangeset
for help on using the changeset viewer.