Go to the documentation of this file.
33 #ifndef TTA_COST_FUNCTION_PLUGIN_DIALOG_HH
34 #define TTA_COST_FUNCTION_PLUGIN_DIALOG_HH
37 #include <wx/listctrl.h>
54 void onBrowse(wxCommandEvent& event);
55 void onAdd(wxCommandEvent& event);
56 void onModify(wxCommandEvent& event);
57 void onDelete(wxCommandEvent& event);
58 void onOK(wxCommandEvent& event);
63 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
106 DECLARE_EVENT_TABLE()
void onOK(wxCommandEvent &event)
wxString path_
Plugin file path.
CostFunctionPluginDialog(wxWindow *parent, wxWindowID id, HDB::HDBManager &hdb, int pluginID)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onDelete(wxCommandEvent &event)
wxChoice * typeChoice_
Pointer to the type choice widget.
void onAdd(wxCommandEvent &event)
void onBrowse(wxCommandEvent &event)
wxString description_
Plugin description string.
HDB::HDBManager & hdb_
HDB containing the plugin.
static const wxString TYPE_COST_FU
FU Cost estimator string for the type choicer widget.
wxString name_
Plugin name.
wxListCtrl * list_
Pointer to the data list widget.
void onDataSelection(wxListEvent &event)
static const wxString TYPE_COST_RF
RF Cost estimator string for the type choicer widget.
int id_
Plugin id in the HDB.
void onModify(wxCommandEvent &event)
virtual bool TransferDataToWindow()
static const wxString TYPE_COST_ICDEC
IC&decoder Cost estimator string for the type choicer widget.
static const wxString TYPE_COST_DECOMP
Decompressor cost estimator string for the type choicer widget.
virtual ~CostFunctionPluginDialog()