summaryrefslogtreecommitdiffstats
path: root/src/pwgui/pwgui.h
blob: 348c5a1407c7b9f91562eb1cb87891b7fa7e03bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef AUTHENTICATION_H
#define AUTHENTICATION_H

#include <QMainWindow>
#include <QDebug>

namespace Ui
{
class PwGui;
}

class QTimer;

class PwGui : public QMainWindow
{
	Q_OBJECT

public:
	explicit PwGui(int pfd, char *user, QWidget *parent = 0);
	~PwGui();

private slots:
	void on_accept();
	void on_reject();

private:
	Ui::PwGui *ui;
	void initializeUI(char *username);
	int pipefd;
};

#endif // AUTHENTICATION_H