Last change
on this file since 22 was 19, checked in by Marek Kurdej, 11 years ago |
Update: fixed LMOComponent compilation with Qt5.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[17] | 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 |
|
---|
| 6 | #include "LMOComponent.h"
|
---|
| 7 |
|
---|
[19] | 8 | #include <Pacpus/kernel/Log.h>
|
---|
| 9 | #include <Pacpus/kernel/ComponentFactory.h>
|
---|
| 10 |
|
---|
[17] | 11 | using namespace pacpus;
|
---|
| 12 | using namespace std;
|
---|
| 13 |
|
---|
| 14 | DECLARE_STATIC_LOGGER("pacpus.base.LMOComponent");
|
---|
| 15 |
|
---|
| 16 | /// Constructs a static component factory
|
---|
| 17 | static ComponentFactory<LMOComponent> sFactory("LMOComponent");
|
---|
| 18 |
|
---|
| 19 | //////////////////////////////////////////////////////////////////////////
|
---|
| 20 | LMOComponent::LMOComponent(QString name)
|
---|
| 21 | : ComponentBase(name)
|
---|
| 22 | {
|
---|
| 23 | LOG_TRACE("constructor(" << name << ")");
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | //////////////////////////////////////////////////////////////////////////
|
---|
| 27 | LMOComponent::~LMOComponent()
|
---|
| 28 | {
|
---|
| 29 | LOG_TRACE("destructor");
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | //////////////////////////////////////////////////////////////////////////
|
---|
| 33 | void LMOComponent::startActivity()
|
---|
| 34 | {
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | //////////////////////////////////////////////////////////////////////////
|
---|
| 38 | void LMOComponent::stopActivity()
|
---|
| 39 | {
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | //////////////////////////////////////////////////////////////////////////
|
---|
| 43 | ComponentBase::COMPONENT_CONFIGURATION LMOComponent::configureComponent(XmlComponentConfig config)
|
---|
| 44 | {
|
---|
| 45 | return ComponentBase::CONFIGURED_OK;
|
---|
| 46 | }
|
---|
| 47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.