view include/cache.h @ 18:a8e6e5769e3b

Small fixes.
author pyon@macmini
date Sat, 29 Nov 2014 11:02:35 +0900
parents dfcf8c973219
children a2ad87cad48b
line wrap: on
line source

// Filename   : cache.h
// Last Change: 02-May-2014.
//

#ifndef __CACHE_H__
#define __CACHE_H__

#include "common.h"


class CacheDialog : public wxDialog 
{
    DECLARE_EVENT_TABLE()
	private:
        wxString    m_rootdir;
        int         m_width, m_height;
	
	protected:
		wxDatePickerCtrl* m_datePickerBgn;
		wxDatePickerCtrl* m_datePickerEnd;
		wxButton*         m_buttonMake;
		wxButton*         m_buttonClose;
	
	public:
		CacheDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); 
		~CacheDialog();
        void Setting( wxString rootdir, int w, int h );
        void OnMakeCache( wxCommandEvent& WXUNUSED(event) );
        void MakeCache( wxString begin, wxString end );
        void OnClose( wxCommandEvent& WXUNUSED(event) );
};

#endif //__CACHE_H__

enum
{
    ID_MKCACHE = wxID_HIGHEST + 660,
    ID_CLOSE,
};