mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-17 20:49:11 +01:00
6634d1fd71
still bloody beta
34 lines
532 B
C++
34 lines
532 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QWidget>
|
|
#include "../lib/clientmessage.h"
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
MainWindow(const MainWindow &rhs);
|
|
MainWindow &operator =(const MainWindow &rhs);
|
|
|
|
~MainWindow();
|
|
|
|
void setClientmessage(const Clientmessage &msg);
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
|
|
Clientmessage _oldMessage = { };
|
|
|
|
void _LED(const bool on);
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|