#ifndef EFL_UI_FACTORY_IMPL_HH
#define EFL_UI_FACTORY_IMPL_HH

#include "efl_ui_factory.eo.hh"

namespace efl { namespace ui { 
inline ::efl::eolian::return_traits< ::efl::gfx::Entity>::type Factory::create( ::efl::eolian::in_traits< ::efl::Model>::type model,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type parent) const
{
    ::Efl_Gfx_Entity* __return_value =  ::efl_ui_factory_create(_eo_ptr()
      ,  ::efl::eolian::convert_to_c< ::Efl_Model*,  ::efl::eolian::in_traits< ::efl::Model>::type>(model)
      ,  ::efl::eolian::convert_to_c< ::Efl_Gfx_Entity*,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type>(parent));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::gfx::Entity>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Factory::release( ::efl::eolian::in_traits< ::efl::gfx::Entity>::type ui_view) const
{
    ::efl_ui_factory_release(_eo_ptr()
      ,  ::efl::eolian::convert_to_c< ::Efl_Gfx_Entity*,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type>(ui_view));
}
inline ::efl::eolian::return_traits<void>::type Factory::model_connect( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name,  ::efl::eolian::in_traits< ::efl::ui::Factory>::type factory) const
{
    ::efl_ui_factory_model_connect(_eo_ptr()
      ,  ::efl::eolian::convert_to_c<const char *,  ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name)
      ,  ::efl::eolian::convert_to_c< ::Efl_Ui_Factory*,  ::efl::eolian::in_traits< ::efl::ui::Factory>::type>(factory));
}
} } 
namespace eo_cxx {
namespace efl { namespace ui { 
inline ::efl::eolian::return_traits< ::efl::gfx::Entity>::type Factory::create( ::efl::eolian::in_traits< ::efl::Model>::type model,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type parent) const
{
    ::Efl_Gfx_Entity* __return_value =  ::efl_ui_factory_create(_eo_ptr()
      ,  ::efl::eolian::convert_to_c< ::Efl_Model*,  ::efl::eolian::in_traits< ::efl::Model>::type>(model)
      ,  ::efl::eolian::convert_to_c< ::Efl_Gfx_Entity*,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type>(parent));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits< ::efl::gfx::Entity>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Factory::release( ::efl::eolian::in_traits< ::efl::gfx::Entity>::type ui_view) const
{
    ::efl_ui_factory_release(_eo_ptr()
      ,  ::efl::eolian::convert_to_c< ::Efl_Gfx_Entity*,  ::efl::eolian::in_traits< ::efl::gfx::Entity>::type>(ui_view));
}
inline ::efl::eolian::return_traits<void>::type Factory::model_connect( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name,  ::efl::eolian::in_traits< ::efl::ui::Factory>::type factory) const
{
    ::efl_ui_factory_model_connect(_eo_ptr()
      ,  ::efl::eolian::convert_to_c<const char *,  ::efl::eolian::in_traits< ::efl::eina::string_view>::type>(name)
      ,  ::efl::eolian::convert_to_c< ::Efl_Ui_Factory*,  ::efl::eolian::in_traits< ::efl::ui::Factory>::type>(factory));
}
inline efl::ui::Factory::operator ::efl::ui::Factory() const { return *static_cast< ::efl::ui::Factory const*>(static_cast<void const*>(this)); }
inline efl::ui::Factory::operator ::efl::ui::Factory&() { return *static_cast< ::efl::ui::Factory*>(static_cast<void*>(this)); }
inline efl::ui::Factory::operator ::efl::ui::Factory const&() const { return *static_cast< ::efl::ui::Factory const*>(static_cast<void const*>(this)); }
} } }
#endif
