#ifndef EFL_GENERATED_EVAS_DRAGGABLE_INTERFACE_HH
#define EFL_GENERATED_EVAS_DRAGGABLE_INTERFACE_HH

extern "C"
{
#include <Efl.h>
}
#include <Eo.hh>

#include <eo_cxx_interop.hh>

extern "C"
{
#include "evas_draggable_interface.eo.h"
}

#include "evas_signal_interface.eo.hh"

namespace evas {

struct draggable_interface
      : evas::signal_interface
{
   /// @brief Eo Constructor.
   ///
   /// Constructs the object from an Eo* pointer stealing its ownership.
   ///
   /// @param eo The Eo object pointer.
   ///
   explicit draggable_interface(Eo* eo)
      : evas::signal_interface(eo)
   {}

   /// @brief nullptr_t Constructor.
   ///
   /// Constructs an empty (null) object.
   ///
   explicit draggable_interface(std::nullptr_t)
      : evas::signal_interface(nullptr)
   {}

   /// @brief Copy Constructor.
   ///
   draggable_interface(draggable_interface const& other)
      : evas::signal_interface(eo_ref(other._eo_ptr()))
   {}

   ~draggable_interface() {}

   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG );
   }

   template <typename T>
   void
   callback_drag_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START );
   }

   template <typename T>
   void
   callback_drag_start_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_stop_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP );
   }

   template <typename T>
   void
   callback_drag_stop_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_end_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END );
   }

   template <typename T>
   void
   callback_drag_end_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_up_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP );
   }

   template <typename T>
   void
   callback_drag_start_up_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_down_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN );
   }

   template <typename T>
   void
   callback_drag_start_down_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_right_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT );
   }

   template <typename T>
   void
   callback_drag_start_right_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_left_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT );
   }

   template <typename T>
   void
   callback_drag_start_left_call(T* info)
   {
      eo_do(_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT, info));
   }
   static Eo_Class const* _eo_class()
   {
      return(EVAS_DRAGGABLE_INTERFACE_INTERFACE);
   }

private:
};
} 

namespace efl { namespace eo { namespace detail {

template<>
struct operations< evas::draggable_interface >
{
   template <typename T>
   struct type
   {
   };
};


template<>
struct operation_description_class_size< evas::draggable_interface >
{
   static const int value = 0;
};

template <typename T>
int initialize_operation_description(efl::eo::detail::tag<evas::draggable_interface>
                                 , Eo_Op_Description* ops)
{
   (void)ops;
   return 0;
}
inline void
call_constructor(tag< evas::draggable_interface >
               , Eo* eo, Eo_Class const* cls EINA_UNUSED,
               args_class<evas::draggable_interface, ::std::tuple<efl::eo::parent_type> > const& args)
{
   eo_do_super(eo, cls, ::eo_constructor());
   eo_do(eo, ::eo_parent_set(args.get<0>()._eo_raw));
}

template<>
struct extension_inheritance< evas::draggable_interface>
{
   template <typename U>
   struct type
   {
      operator evas::draggable_interface() const
      {
         return evas::draggable_interface(eo_ref(static_cast<U const*>(this)->_eo_ptr()));
      }

   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG );
   }

   template <typename T>
   void
   callback_drag_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START );
   }

   template <typename T>
   void
   callback_drag_start_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_stop_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP );
   }

   template <typename T>
   void
   callback_drag_stop_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_STOP, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_end_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END );
   }

   template <typename T>
   void
   callback_drag_end_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_END, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_up_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP );
   }

   template <typename T>
   void
   callback_drag_start_up_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_UP, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_down_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN );
   }

   template <typename T>
   void
   callback_drag_start_down_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_DOWN, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_right_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT );
   }

   template <typename T>
   void
   callback_drag_start_right_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_RIGHT, info));
   }
   template <typename F>
   ::efl::eo::signal_connection
   callback_drag_start_left_add(F && callback_,
                        ::efl::eo::callback_priority priority_ =
                        ::efl::eo::callback_priorities::default_)
   {
      typedef typename std::remove_reference<F>::type function_type;
      ::std::unique_ptr<function_type> f ( new function_type(std::move(callback_)) );
      eo_do(static_cast<U*>(this)->_eo_ptr(),
            eo_event_callback_priority_add
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT, priority_,
            &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, static_cast<U*>(this)->_eo_ptr(), &efl::eo::_detail::event_callback<evas::draggable_interface, function_type>,
         EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT );
   }

   template <typename T>
   void
   callback_drag_start_left_call(T* info)
   {
      eo_do(static_cast<U*>(this)->_eo_ptr(), eo_event_callback_call
            (EVAS_DRAGGABLE_INTERFACE_EVENT_DRAG_START_LEFT, info));
   }
   };
};

inline Eo_Class const* get_eo_class(tag<evas::draggable_interface>)
{
   return (EVAS_DRAGGABLE_INTERFACE_INTERFACE);
}

} } }
#endif // EFL_GENERATED_EVAS_DRAGGABLE_INTERFACE_HH

