2012-01-11 01:21:13 +02:00
|
|
|
#ifndef _plat_wxwidgets__menu_dump__hpp__included__
|
|
|
|
#define _plat_wxwidgets__menu_dump__hpp__included__
|
|
|
|
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/wx.h>
|
2012-10-14 23:55:36 +03:00
|
|
|
#include <map>
|
2012-01-11 01:21:13 +02:00
|
|
|
|
|
|
|
class dumper_menu_monitor;
|
2012-01-19 19:04:15 +02:00
|
|
|
class dumper_info;
|
2014-05-31 22:16:15 +03:00
|
|
|
class dumper_information_1;
|
2012-01-11 01:21:13 +02:00
|
|
|
|
|
|
|
class dumper_menu : public wxMenu
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
dumper_menu(wxWindow* win, int wxid_low, int wxid_high);
|
|
|
|
~dumper_menu();
|
|
|
|
void on_select(wxCommandEvent& e);
|
2014-05-31 22:16:15 +03:00
|
|
|
void update();
|
2012-01-11 01:21:13 +02:00
|
|
|
private:
|
|
|
|
dumper_menu_monitor* monitor;
|
|
|
|
wxWindow* pwin;
|
|
|
|
int wxid_range_low;
|
|
|
|
int wxid_range_high;
|
2014-05-31 22:16:15 +03:00
|
|
|
std::map<std::string, dumper_information_1> existing_dumpers;
|
2012-01-11 01:21:13 +02:00
|
|
|
};
|
|
|
|
|
2012-09-25 23:05:57 +03:00
|
|
|
#endif
|