#ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include "../lib/clientmessage.h" #include "wave.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 = { }; const Wave _soundLock; const Wave _soundUnlock; const Wave _soundEmergencyUnlock; const Wave _soundZonk; const Wave _soundLockButton; const Wave _soundUnlockButton; void _LED(const bool on); }; #endif // MAINWINDOW_H