#ifndef __tasks_find_what_dlg__
#define __tasks_find_what_dlg__

/**
@file
Subclass of TasksFindWhatDlgBase, which is generated by wxFormBuilder.
*/

#include "tasksfindwhatdlgbase.h"

/** Implementing TasksFindWhatDlgBase */
class TasksFindWhatDlg : public TasksFindWhatDlgBase
{
protected:
	// Handlers for TasksFindWhatDlgBase events.
	void OnNewTask( wxCommandEvent& event );
	void OnDeleteTask( wxCommandEvent& event );
	void OnDeleteTaskUI( wxUpdateUIEvent& event );
	void OnEditTask( wxCommandEvent& event );
	void OnEditTaskUI( wxUpdateUIEvent& event );
	void OnButtonOk( wxCommandEvent& event );

private:
	void DoAddLine(const wxString &name, const wxString &regex, bool enabled);
	void DoSaveList();

public:
	/** Constructor */
	TasksFindWhatDlg( wxWindow* parent );
	virtual ~TasksFindWhatDlg();
};

#endif // __tasks_find_what_dlg__
