|
Last change
on this file since 61 was 61, checked in by Marek Kurdej, 13 years ago |
|
Added: some documentation and doc todo comments.
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 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 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef DEF_PACPUS_DBTPLYTRIGGER_H
|
|---|
| 12 | #define DEF_PACPUS_DBTPLYTRIGGER_H
|
|---|
| 13 |
|
|---|
| 14 | #include <QThread>
|
|---|
| 15 |
|
|---|
| 16 | #include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
|
|---|
| 17 | #include <Pacpus/DbitePlayer/DbtPlyEngine.h>
|
|---|
| 18 | #include <Pacpus/kernel/ComponentBase.h>
|
|---|
| 19 | #include <Pacpus/kernel/ComponentFactory.h>
|
|---|
| 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:
|
|---|
| 37 | /// @todo Documentation
|
|---|
| 38 | DbtPlyTrigger(QString name);
|
|---|
| 39 | /// @todo Documentation
|
|---|
| 40 | virtual ~DbtPlyTrigger();
|
|---|
| 41 |
|
|---|
| 42 | /// @todo Documentation
|
|---|
| 43 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
|---|
| 44 |
|
|---|
| 45 | /// @todo Documentation
|
|---|
| 46 | virtual void run();
|
|---|
| 47 |
|
|---|
| 48 | Q_SIGNALS:
|
|---|
| 49 | /// @todo Documentation
|
|---|
| 50 | void triggerSig();
|
|---|
| 51 |
|
|---|
| 52 | protected:
|
|---|
| 53 | /// @todo Documentation
|
|---|
| 54 | virtual void startActivity();
|
|---|
| 55 | /// @todo Documentation
|
|---|
| 56 | virtual void stopActivity();
|
|---|
| 57 |
|
|---|
| 58 | private:
|
|---|
| 59 | DbtPlyEngine * mEngine;
|
|---|
| 60 | };
|
|---|
| 61 |
|
|---|
| 62 | } // namespace pacpus
|
|---|
| 63 |
|
|---|
| 64 | #endif // DEF_PACPUS_DBTPLYTRIGGER_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.