#ifndef EFL_UI_SELECTION_IMPL_HH
#define EFL_UI_SELECTION_IMPL_HH

#include "efl_ui_selection.eo.hh"

namespace efl { namespace ui { 
#ifdef EFL_BETA_API_SUPPORT
template <typename F>
inline ::efl::eolian::return_traits<void>::type Selection::selection_get( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Format>::type format, F data_func,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
    auto fw_data_func = new ::efl::eolian::function_wrapper<Efl_Ui_Selection_Data_Ready, F>(data_func);
     ::efl_ui_selection_get(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Format,  ::efl::eolian::in_traits<Efl_Ui_Selection_Format>::type>(format),
        fw_data_func->data_to_c(), fw_data_func->func_to_c(), fw_data_func->free_to_c(),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
}
#endif
#ifdef EFL_BETA_API_SUPPORT
inline ::efl::eolian::return_traits<void>::type Selection::selection_clear( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
     ::efl_ui_selection_clear(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
}
#endif
#ifdef EFL_BETA_API_SUPPORT
inline ::efl::eolian::return_traits<bool>::type Selection::has_owner( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
    Eina_Bool __return_value =  ::efl_ui_selection_has_owner(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
    return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
#endif
} } 
namespace eo_cxx {
namespace efl { namespace ui { 
#ifdef EFL_BETA_API_SUPPORT
template <typename F>
inline ::efl::eolian::return_traits<void>::type Selection::selection_get( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Format>::type format, F data_func,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
    auto fw_data_func = new ::efl::eolian::function_wrapper<Efl_Ui_Selection_Data_Ready, F>(data_func);
     ::efl_ui_selection_get(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Format,  ::efl::eolian::in_traits<Efl_Ui_Selection_Format>::type>(format),
        fw_data_func->data_to_c(), fw_data_func->func_to_c(), fw_data_func->free_to_c(),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
}
#endif
#ifdef EFL_BETA_API_SUPPORT
inline ::efl::eolian::return_traits<void>::type Selection::selection_clear( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
     ::efl_ui_selection_clear(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
}
#endif
#ifdef EFL_BETA_API_SUPPORT
inline ::efl::eolian::return_traits<bool>::type Selection::has_owner( ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type type,  ::efl::eolian::in_traits< unsigned int>::type seat) const
{
    Eina_Bool __return_value =  ::efl_ui_selection_has_owner(_eo_ptr(),
         ::efl::eolian::convert_to_c<Efl_Ui_Selection_Type,  ::efl::eolian::in_traits<Efl_Ui_Selection_Type>::type>(type),
         ::efl::eolian::convert_to_c<unsigned int,  ::efl::eolian::in_traits< unsigned int>::type>(seat));
    return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
#endif
inline efl::ui::Selection::operator ::efl::ui::Selection() const { return *static_cast< ::efl::ui::Selection const*>(static_cast<void const*>(this)); }
inline efl::ui::Selection::operator ::efl::ui::Selection&() { return *static_cast< ::efl::ui::Selection*>(static_cast<void*>(this)); }
inline efl::ui::Selection::operator ::efl::ui::Selection const&() const { return *static_cast< ::efl::ui::Selection const*>(static_cast<void const*>(this)); }
} } }
#endif
