source: pacpusframework/trunk/include/Pacpus/DbitePlayer/DbtPlyTrigger.h@ 52

Last change on this file since 52 was 31, checked in by sgosseli, 12 years ago

Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.

File size: 1.2 KB
RevLine 
[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
26namespace pacpus {
27
28class DbtPlyEngine;
29
30class DBITE_PLAYER_API DbtPlyTrigger
31 : public QThread
32 , public ComponentBase
33{
34 Q_OBJECT
35
36public:
37 DbtPlyTrigger(QString name);
38 virtual ~DbtPlyTrigger();
39
40 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
41
42 virtual void run();
43
44Q_SIGNALS:
45 void triggerSig();
46
47protected:
48 virtual void startActivity();
49 virtual void stopActivity();
50
51private:
52 DbtPlyEngine * mEngine;
53};
54
55} // namespace pacpus
56
[31]57#endif // DEF_PACPUS_DBTPLYTRIGGER_H
Note: See TracBrowser for help on using the repository browser.