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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
// generated 2002/10/6 15:34:21 CEST by triendl.kj@triendl.kj.(none)
// using glademm V1.1.1c_cvs
//
// newer (non customized) versions of this file go to CDlgAuthentication.hh_new
// you might replace
// class foo : public foo_glade { ... };
// by
// typedef foo_glade foo;
// if you didn't make any modifications to the widget
#ifndef _CDLGAUTHENTICATION_HH
#define _CDLGAUTHENTICATION_HH
#include <gtkmm.h>
#include "fireflierIO.h"
#include "dispatcher.h"
class CDlgAuthentication: public Gtk::Window
{
private:
Dispatcher1 <bool> m_signalConnection;
Dispatcher1 <int> m_signalAuthentication;
Dispatcher2 <CffIO::pCffIOError, bool> m_signalNetworkThreadError;
protected:
Gtk::Entry *m_entryUser;
Gtk::Entry *m_entryPwd;
Gtk::Button* m_butOk;
Gtk::Statusbar* m_pStatusbar;
public:
CDlgAuthentication();
virtual ~CDlgAuthentication()
{}
protected:
void initGUI();
// signal handlers for the network thread
void on_Connection(bool bConnected);
void on_Authentication(int nAuthenticated);
void on_networkthread_error(CffIO::pCffIOError pErr, bool bDisconnected);
void on_butOk_clicked();
void on_entry_changed();
bool on_idle();
public:
void run();
};
#endif
|