Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/hist.h @ 2:c066fde99517
Added Batch Print Mode.
| author | pyon@macmini |
|---|---|
| date | Fri, 23 Aug 2013 18:32:09 +0900 |
| parents | 7b6dab24f4b8 |
| children |
comparison
equal
deleted
inserted
replaced
| 1:7b6dab24f4b8 | 2:c066fde99517 |
|---|---|
| 1 // Filename : hist.h | 1 // Filename : hist.h |
| 2 // Last Change: 02-Aug-2013. | 2 // Last Change: 13-Aug-2013. |
| 3 // | 3 // |
| 4 #ifndef __HIST_H__ | 4 #ifndef __HIST_H__ |
| 5 #define __HIST_H__ | 5 #define __HIST_H__ |
| 6 | 6 |
| 7 #include "common.h" | 7 #include "common.h" |
| 8 | 8 |
| 9 class HistDialog : public wxDialog | 9 class HistDialog : public wxDialog |
| 10 { | 10 { |
| 11 DECLARE_EVENT_TABLE() | 11 DECLARE_EVENT_TABLE() |
| 12 private: | 12 private: |
| 13 wxString m_hhsno; | |
| 13 | 14 |
| 14 protected: | 15 protected: |
| 15 wxListCtrl* m_listCtrl; | 16 wxListCtrl* m_listCtrl; |
| 16 wxButton* m_buttonCancel; | 17 wxButton* m_buttonCancel; |
| 17 wxButton* m_buttonSet; | 18 wxButton* m_buttonSet; |
| 19 public: | 20 public: |
| 20 | 21 |
| 21 HistDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | 22 HistDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); |
| 22 ~HistDialog(); | 23 ~HistDialog(); |
| 23 | 24 |
| 24 void OnSelectItem( wxListEvent& WXUNUSED(event) ); | 25 void OnSelectItem( wxListEvent& event ); |
| 25 void OnSet( wxCommandEvent& WXUNUSED(event) ); | 26 void OnSet( wxCommandEvent& WXUNUSED(event) ); |
| 26 void ReadHistoryList( void ); | 27 void ReadHistoryList( void ); |
| 28 | |
| 29 // Accessor | |
| 30 wxString GetHhsNo() const { return m_hhsno; } | |
| 27 }; | 31 }; |
| 28 | 32 |
| 29 enum | 33 enum |
| 30 { | 34 { |
| 31 ID_LISTHIST = wxID_HIGHEST + 30, | 35 ID_LISTHIST = wxID_HIGHEST + 30, |
