summaryrefslogblamecommitdiffstats
path: root/src/pwgui/pwgui.h
blob: 07070b592964f659af611f7c2958b183202550e9 (plain) (tree)
1
2
3
4
5




                        











                                
                                                             


              

                     


                  
                                      
               


                          
#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