#ifndef __ps_build_events_page__
#define __ps_build_events_page__

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

#include "project_settings_base_dlg.h"
#include "project_settings_dlg.h"

//// end generated include

/** Implementing PSBuildEventsBasePage */
class PSBuildEventsPage : public PSBuildEventsBasePage, public IProjectSettingsPage
{
	bool                  m_isPreEvents;
	ProjectSettingsDlg*   m_dlg;

protected:
	// Handlers for PSBuildEventsBasePage events.
	void OnCmdEvtVModified( wxCommandEvent& event );
	void OnNewBuildCommand( wxCommandEvent& event );
	void OnDeleteBuildCommand( wxCommandEvent& event );
	void OnBuildSelectedUI( wxUpdateUIEvent& event );
	void OnEditBuildCommand( wxCommandEvent& event );
	void OnUpBuildCommand( wxCommandEvent& event );
	void OnDownBuildCommand( wxCommandEvent& event );

public:
	/** Constructor */
	PSBuildEventsPage( wxWindow* parent, bool preEvents, ProjectSettingsDlg* dlg );
	//// end generated class members

	virtual void Load(BuildConfigPtr buildConf);
	virtual void Save(BuildConfigPtr buildConf, ProjectSettingsPtr projSettingsPtr);
	virtual void Clear();

};

#endif // __ps_build_events_page__
