init
This commit is contained in:
28
device/bridgesgl.h
Normal file
28
device/bridgesgl.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef BRIDGESGL_H
|
||||
#define BRIDGESGL_H
|
||||
#include <QObject>
|
||||
|
||||
#define BDGSGL BridgeSGL::instance()
|
||||
class BridgeSGL:public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static BridgeSGL* instance();
|
||||
|
||||
signals:
|
||||
void addZAAxisCPosSGL(QString textValue,double value);
|
||||
void deleteZAAxisCPosSGL(QString value);
|
||||
void ZAAxisCPosListChangedSGL(QStringList value);
|
||||
|
||||
private:
|
||||
BridgeSGL();
|
||||
BridgeSGL(BridgeSGL const&) = delete;
|
||||
BridgeSGL& operator = (BridgeSGL const&) = delete;
|
||||
|
||||
protected:
|
||||
static BridgeSGL* uniqueInstance;
|
||||
};
|
||||
|
||||
#endif // BRIDGESGL_H
|
||||
|
||||
Reference in New Issue
Block a user