#ifndef __debugger_predefined_types_page__
#define __debugger_predefined_types_page__

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

#include "debuggersettingsbasedlg.h"
#include "debuggersettings.h"

/** Implementing PreDefinedTypesPageBase */
class PreDefinedTypesPage : public PreDefinedTypesPageBase
{
protected:
	long                    m_selectedItem;
	DebuggerPreDefinedTypes m_data;
	
protected:
	// Handlers for PreDefinedTypesPageBase events.
	void OnItemActivated( wxListEvent& event );
	void OnItemDeselected( wxListEvent& event );
	void OnItemSelected( wxListEvent& event );
	void OnNewShortcut( wxCommandEvent& event );
	void OnEditShortcut( wxCommandEvent& event );
	void OnDeleteShortcut( wxCommandEvent& event );
	
	void DoEditItem();
	void DoDeleteItem();
	
public:
	/** Constructor */
	PreDefinedTypesPage( wxWindow* parent, const DebuggerPreDefinedTypes& preDefTypes );
	DebuggerPreDefinedTypes GetPreDefinedTypes();
};

#endif // __debugger_predefined_types_page__
