Mercurial > mercurial > hgweb_rsearcher.cgi
comparison include/auth.h @ 9:ae89ce4793d8
add satellite-view.
| author | pyon@macmini |
|---|---|
| date | Wed, 31 Oct 2018 20:10:29 +0900 |
| parents | 82f9af6aa7e4 |
| children | b651aa41b9d4 |
comparison
equal
deleted
inserted
replaced
| 8:82f9af6aa7e4 | 9:ae89ce4793d8 |
|---|---|
| 1 // Filename : auth.h | 1 // Filename : auth.h |
| 2 // Last Change: 2018-10-29 09:11:18. | 2 // Last Change: 2018-10-31 11:06:01. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #ifndef __AUTH_H__ | 5 #ifndef __AUTH_H__ |
| 6 #define __AUTH_H__ | 6 #define __AUTH_H__ |
| 7 | 7 |
| 25 wxString m_server; | 25 wxString m_server; |
| 26 wxString m_user; | 26 wxString m_user; |
| 27 wxArrayString m_users; | 27 wxArrayString m_users; |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 enum { | |
| 31 ID_UID = wxID_HIGHEST + 200, | |
| 32 ID_PW, | |
| 33 }; | |
| 34 | |
| 35 wxStaticText* m_staticTextId; | 30 wxStaticText* m_staticTextId; |
| 36 wxTextCtrl* m_textCtrlId; | 31 wxTextCtrl* m_textCtrlId; |
| 37 wxStaticText* m_staticTextIdmsg; | 32 wxStaticText* m_staticTextIdmsg; |
| 38 wxStaticText* m_staticTextPw; | 33 wxStaticText* m_staticTextPw; |
| 39 wxTextCtrl* m_textCtrlPw; | 34 wxTextCtrl* m_textCtrlPw; |
| 45 AuthDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); | 40 AuthDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); |
| 46 ~AuthDialog(); | 41 ~AuthDialog(); |
| 47 | 42 |
| 48 void SetServer( wxString server ) { m_server = server; }; | 43 void SetServer( wxString server ) { m_server = server; }; |
| 49 void CreateControls( void ); | 44 void CreateControls( void ); |
| 50 //bool GetDB( void ); | |
| 51 bool LoadDB( void ); | 45 bool LoadDB( void ); |
| 52 bool IsValidUser( void ); | 46 bool IsValidUser( void ); |
| 53 wxString GetUser( void ) { return m_user; }; | 47 wxString GetUser( void ) { return m_user; }; |
| 54 void InDevelop( bool ); | 48 void InDevelop( bool ); |
| 55 | 49 |
