2018-01-23 10:37:45 +00:00
|
|
|
#include "TabIface.hpp"
|
2018-01-23 10:42:04 +00:00
|
|
|
#include "Tab.hpp"
|
2018-01-23 10:37:45 +00:00
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
2018-01-25 12:46:04 +00:00
|
|
|
void TabIface::load_current_preset() { m_tab->load_current_preset(); }
|
|
|
|
void TabIface::update_tab_ui() { m_tab->update_tab_ui(); }
|
|
|
|
void TabIface::update_ui_from_settings() { m_tab->update_ui_from_settings();}
|
|
|
|
void TabIface::select_preset(char* name) { m_tab->select_preset(name);}
|
|
|
|
void TabIface::load_config(DynamicPrintConfig* config) { m_tab->load_config(*config);}
|
2018-01-26 00:44:34 +00:00
|
|
|
void TabIface::load_key_value(char* opt_key, char* value){ m_tab->load_key_value(opt_key, static_cast<std::string>(value)); }
|
2018-01-25 12:46:04 +00:00
|
|
|
bool TabIface::current_preset_is_dirty() { return m_tab->current_preset_is_dirty();}
|
2018-02-06 13:53:38 +00:00
|
|
|
void TabIface::OnActivate() { return m_tab->OnActivate();}
|
2018-02-07 16:13:52 +00:00
|
|
|
std::string TabIface::title() { return m_tab->title().ToStdString();}
|
2018-01-26 00:44:34 +00:00
|
|
|
DynamicPrintConfig* TabIface::get_config() { return m_tab->get_config(); }
|
2018-02-09 10:04:34 +00:00
|
|
|
PresetCollection* TabIface::get_presets() { return m_tab!=nullptr ? m_tab->get_presets() : nullptr; }
|
2018-01-25 12:46:04 +00:00
|
|
|
std::vector<std::string> TabIface::get_dependent_tabs() { return m_tab->get_dependent_tabs(); }
|
2018-01-23 10:37:45 +00:00
|
|
|
|
|
|
|
}; // namespace Slic3r
|