33#ifndef TTA_TEMPLATE_LIST_DIALOG_HH
34#define TTA_TEMPLATE_LIST_DIALOG_HH
37#include <wx/listctrl.h>
43 class InstructionTemplate;
56 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
TTAMachine::Machine * machine
the architecture definition of the estimated processor
wxString templateName_
Name of the new template.
TTAMachine::InstructionTemplate * selectedTemplate()
wxStaticBoxSizer * slotSizer_
Box sizer around the slot list.
void onTemplateName(wxCommandEvent &event)
virtual ~TemplateListDialog()
wxStaticBoxSizer * templateSizer_
Box sizer around the template list.
wxListCtrl * templateList_
Widget for list of templates.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
wxListCtrl * slotList_
Widget for list of slots in the selected template.
void onAddSlot(wxCommandEvent &event)
void onAddTemplate(wxCommandEvent &event)
void onTemplateSelection(wxListEvent &event)
TTAMachine::Machine * machine_
Parent machine of the instruction templates.
void onSlotSelection(wxListEvent &event)
virtual bool TransferDataToWindow()
void onEditSlot(wxCommandEvent &event)
void onDeleteTemplate(wxCommandEvent &event)
std::string selectedSlot()
void onDeleteSlot(wxCommandEvent &event)