1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-19 05:23:15 +01:00
doorlockd-mirror/doorlockd/client/mainwindow.h

34 lines
532 B
C
Raw Normal View History

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
2015-09-30 15:26:28 +02:00
#include <QWidget>
2015-10-02 19:39:47 +02:00
#include "../lib/clientmessage.h"
2015-09-30 15:26:28 +02:00
namespace Ui {
class MainWindow;
}
2015-09-30 15:26:28 +02:00
class MainWindow : public QWidget
{
2015-09-30 15:26:28 +02:00
Q_OBJECT
2015-09-29 02:13:48 +02:00
2015-09-30 15:26:28 +02:00
public:
explicit MainWindow(QWidget *parent = 0);
MainWindow(const MainWindow &rhs);
MainWindow &operator =(const MainWindow &rhs);
2015-09-30 15:26:28 +02:00
~MainWindow();
2015-10-02 19:39:47 +02:00
void setClientmessage(const Clientmessage &msg);
private:
2015-09-30 15:26:28 +02:00
Ui::MainWindow *ui;
2015-10-05 23:59:18 +02:00
Clientmessage _oldMessage = { };
2015-10-06 00:22:35 +02:00
void _LED(const bool on);
};
2015-09-30 15:26:28 +02:00
#endif // MAINWINDOW_H