/** * @RDE_HEADER@ * GUI Plugin for EffectShowManagement - EsmComboBox * $Id$ * $HeadURL$ * $Author$ * Created by Patric Karwat, SLSE, 2016-09-12 */ #include "esm_combobox_gui_plugin.h" #include #include #include #include namespace EffectShowManagement { std::shared_ptr GuiPlugin::createGuiInterface(LtsSession::LtsSession *session) { return std::make_shared(session); } InterfaceImpl::InterfaceImpl(LtsSession::LtsSession *session) : GuiPluginBase::Interface(session, getLogger("Plugins.Gui.Esm.EsmCombobox")) {} bool InterfaceImpl::fetchInterfaces() { DEBUG_LOG(m_logger) << "InterfaceImpl::fetchInterfaces"; std::shared_ptr dtc; if (!m_session->getDtc(dtc)) return false; std::shared_ptr ppmDtc; if (!m_session->getDtc(ppmDtc)) return false; std::shared_ptr aesDtc; if (!m_session->getDtc(aesDtc)) return false; return ForeignGuiComboboxInterfaceImpl::init(dtc, ppmDtc, aesDtc); } void InterfaceImpl::clearInterfaces() { ForeignGuiComboboxInterfaceImpl::uninit(); } } // namespace EffectShowManagement