You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
670 B
34 lines
670 B
4 years ago
|
#ifndef APPLICATIONSTARTER_H
|
||
|
#define APPLICATIONSTARTER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QThread>
|
||
|
#include <QMutex>
|
||
|
|
||
|
#include "utils/ThreadBinder.h"
|
||
|
#include "model/ultrasoundModule/UsEventSender.h"
|
||
|
|
||
|
class ApplicationStarter : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
US_EVENT_SENDER(private)
|
||
|
SINGLETON(ApplicationStarter)
|
||
|
|
||
|
private:
|
||
|
QList<QString> _names;
|
||
|
|
||
|
explicit ApplicationStarter(QObject* parent = nullptr);
|
||
|
|
||
|
template<class T> void initModule(bool eventFilter = false);
|
||
|
|
||
|
void hideTouchpanelMousePointer();
|
||
|
char* findImseId();
|
||
|
|
||
|
public:
|
||
|
void init();
|
||
|
void sendInitCommand();
|
||
|
void sendStartCommand();
|
||
|
};
|
||
|
|
||
|
#endif //APPLICATIONSTARTER_H
|