Last change
on this file since 61 was 61, checked in by Marek Kurdej, 12 years ago |
Added: some documentation and doc todo comments.
|
File size:
1.4 KB
|
Rev | Line | |
---|
[31] | 1 | /**
|
---|
| 2 | *
|
---|
| 3 | * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
|
---|
| 4 | * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
|
---|
| 5 | *
|
---|
| 6 | * See the LICENSE file for more information or a copy at:
|
---|
| 7 | * http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
[3] | 10 |
|
---|
[31] | 11 | #ifndef DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
| 12 | #define DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
[3] | 13 |
|
---|
[31] | 14 | #include <QThread>
|
---|
[3] | 15 |
|
---|
[31] | 16 | #include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
|
---|
| 17 | #include <Pacpus/DbitePlayer/DbtPlyEngine.h>
|
---|
| 18 | #include <Pacpus/kernel/ComponentBase.h>
|
---|
| 19 | #include <Pacpus/kernel/ComponentFactory.h>
|
---|
[3] | 20 |
|
---|
| 21 | #ifdef WIN32
|
---|
| 22 | # include <windows.h>
|
---|
| 23 | # include <mmsystem.h>
|
---|
| 24 | #endif
|
---|
| 25 |
|
---|
| 26 | namespace pacpus {
|
---|
| 27 |
|
---|
| 28 | class DbtPlyEngine;
|
---|
| 29 |
|
---|
| 30 | class DBITE_PLAYER_API DbtPlyTrigger
|
---|
| 31 | : public QThread
|
---|
| 32 | , public ComponentBase
|
---|
| 33 | {
|
---|
| 34 | Q_OBJECT
|
---|
| 35 |
|
---|
| 36 | public:
|
---|
[61] | 37 | /// @todo Documentation
|
---|
[3] | 38 | DbtPlyTrigger(QString name);
|
---|
[61] | 39 | /// @todo Documentation
|
---|
[3] | 40 | virtual ~DbtPlyTrigger();
|
---|
| 41 |
|
---|
[61] | 42 | /// @todo Documentation
|
---|
[3] | 43 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
| 44 |
|
---|
[61] | 45 | /// @todo Documentation
|
---|
[3] | 46 | virtual void run();
|
---|
| 47 |
|
---|
| 48 | Q_SIGNALS:
|
---|
[61] | 49 | /// @todo Documentation
|
---|
[3] | 50 | void triggerSig();
|
---|
| 51 |
|
---|
| 52 | protected:
|
---|
[61] | 53 | /// @todo Documentation
|
---|
[3] | 54 | virtual void startActivity();
|
---|
[61] | 55 | /// @todo Documentation
|
---|
[3] | 56 | virtual void stopActivity();
|
---|
| 57 |
|
---|
| 58 | private:
|
---|
| 59 | DbtPlyEngine * mEngine;
|
---|
| 60 | };
|
---|
| 61 |
|
---|
| 62 | } // namespace pacpus
|
---|
| 63 |
|
---|
[31] | 64 | #endif // DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.