Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/cache.h @ 11:dfcf8c973219
Implement Cache maker.
| author | pyon@macmini |
|---|---|
| date | Wed, 07 May 2014 20:38:57 +0900 |
| parents | |
| children | a2ad87cad48b |
comparison
equal
deleted
inserted
replaced
| 10:29021e6e1ebe | 11:dfcf8c973219 |
|---|---|
| 1 // Filename : cache.h | |
| 2 // Last Change: 02-May-2014. | |
| 3 // | |
| 4 | |
| 5 #ifndef __CACHE_H__ | |
| 6 #define __CACHE_H__ | |
| 7 | |
| 8 #include "common.h" | |
| 9 | |
| 10 | |
| 11 class CacheDialog : public wxDialog | |
| 12 { | |
| 13 DECLARE_EVENT_TABLE() | |
| 14 private: | |
| 15 wxString m_rootdir; | |
| 16 int m_width, m_height; | |
| 17 | |
| 18 protected: | |
| 19 wxDatePickerCtrl* m_datePickerBgn; | |
| 20 wxDatePickerCtrl* m_datePickerEnd; | |
| 21 wxButton* m_buttonMake; | |
| 22 wxButton* m_buttonClose; | |
| 23 | |
| 24 public: | |
| 25 CacheDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | |
| 26 ~CacheDialog(); | |
| 27 void Setting( wxString rootdir, int w, int h ); | |
| 28 void OnMakeCache( wxCommandEvent& WXUNUSED(event) ); | |
| 29 void MakeCache( wxString begin, wxString end ); | |
| 30 void OnClose( wxCommandEvent& WXUNUSED(event) ); | |
| 31 }; | |
| 32 | |
| 33 #endif //__CACHE_H__ | |
| 34 | |
| 35 enum | |
| 36 { | |
| 37 ID_MKCACHE = wxID_HIGHEST + 660, | |
| 38 ID_CLOSE, | |
| 39 }; | |
| 40 |
