Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
authdialog.h
1#ifndef AUTHDIALOG_H
2#define AUTHDIALOG_H
3
4#include <QDebug>
5#include <QDialog>
6#include "AuthenticationManager.h"
7
8namespace Ui {
9class AuthDialog;
10}
11
14class AuthDialog : public QDialog {
15 Q_OBJECT
16
17public:
18 explicit AuthDialog(QWidget *parent = nullptr);
20
21 static bool verifyAuth(QWidget *parent = nullptr);
22
23private slots:
24 void on_acceptButton_clicked();
25
26 void on_declineButton_clicked();
27
28private:
29 Ui::AuthDialog *ui;
32};
33
34#endif // AUTHDIALOG_H
static bool verifyAuth(QWidget *parent=nullptr)
Definition: authdialog.cpp:28
static AuthenticationManager & getInstance()
Singleton wrapper.