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
8
namespace
Ui {
9
class
AuthDialog
;
10
}
11
14
class
AuthDialog
:
public
QDialog {
15
Q_OBJECT
16
17
public
:
18
explicit
AuthDialog
(QWidget *parent =
nullptr
);
19
~AuthDialog
();
20
21
static
bool
verifyAuth
(QWidget *parent =
nullptr
);
22
23
private
slots:
24
void
on_acceptButton_clicked();
25
26
void
on_declineButton_clicked();
27
28
private
:
29
Ui::AuthDialog *ui;
30
cavoke::auth::AuthenticationManager
*authManager =
31
&
cavoke::auth::AuthenticationManager::getInstance
();
32
};
33
34
#endif
// AUTHDIALOG_H
AuthDialog
Definition:
authdialog.h:14
AuthDialog::verifyAuth
static bool verifyAuth(QWidget *parent=nullptr)
Definition:
authdialog.cpp:28
cavoke::auth::AuthenticationManager
Definition:
AuthenticationManager.h:10
cavoke::auth::AuthenticationManager::getInstance
static AuthenticationManager & getInstance()
Singleton wrapper.
Definition:
AuthenticationManager.h:16
client
views
authdialog.h
Generated by
1.9.6