Mercurial > mercurial > hgweb_searcher2.cgi
diff include/hhsdb.h @ 0:c174ac668e9f
First commit ! (ver2.8)
author | pyon@macmini |
---|---|
date | Tue, 05 Apr 2011 18:44:57 +0900 |
parents | |
children | e0cf49906039 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/hhsdb.h Tue Apr 05 18:44:57 2011 +0900 @@ -0,0 +1,42 @@ +// Filename : hhsdb.h +// Last Change: 04-Mar-2011. +// +#ifndef HHSDB +#define HHSDB + +#include "common.h" +#include "wx/wxprec.h" + +#ifndef WX_PRECOMP + #include "wx/wx.h" + #include "wx/textctrl.h" + #include "wx/grid.h" + #include "wx/filepicker.h" +#endif + +class FrameHhsDB : public wxFrame +{ + DECLARE_EVENT_TABLE() + private: + + protected: + wxPanel *m_panel; + wxFilePickerCtrl *m_filePicker; + wxGrid *m_grid; + wxStaticText *m_staticText; + wxTextCtrl *m_textCtrlPassword; + wxButton *m_btnDBUpdate; + wxButton *m_btnCancel; + + public: + FrameHhsDB( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("HHS DB Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxCAPTION|wxFRAME_FLOAT_ON_PARENT|wxFRAME_NO_TASKBAR|wxTAB_TRAVERSAL ); + ~FrameHhsDB(); + + void CheckPassword(wxCommandEvent&); + void UpdateHhsDB(wxCommandEvent&); + void ReadCSV(wxFileDirPickerEvent&); + void OnClose(wxCommandEvent&); +}; + +#endif +