#ifndef EFL_GENERATED_ELM_INTERFACE_ATSPI_WINDOW_HH
#define EFL_GENERATED_ELM_INTERFACE_ATSPI_WINDOW_HH

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

#include <eo_cxx_interop.hh>

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


struct elm_interface_atspi_window;

/// @cond EO_CXX_ABSTRACT
namespace eo_cxx {

struct elm_interface_atspi_window
{
   template <typename F>
   ::efl::eo::signal_connection
   callback_window_created_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED );
   }

   template <typename T>
   void
   callback_window_created_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_destroyed_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED );
   }

   template <typename T>
   void
   callback_window_destroyed_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_activated_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED );
   }

   template <typename T>
   void
   callback_window_activated_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_deactivated_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED );
   }

   template <typename T>
   void
   callback_window_deactivated_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_maximized_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED );
   }

   template <typename T>
   void
   callback_window_maximized_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_minimized_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED );
   }

   template <typename T>
   void
   callback_window_minimized_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_restored_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED );
   }

   template <typename T>
   void
   callback_window_restored_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED, info));
   }



   static Eo_Class const* _eo_class()
   {
      return(ELM_INTERFACE_ATSPI_WINDOW_INTERFACE);
   }

   operator ::elm_interface_atspi_window() const;
   operator ::elm_interface_atspi_window&();
   operator ::elm_interface_atspi_window const&() const;

   /// @cond LOCAL
   template <typename D>
   struct address_of
   {
      operator ::elm_interface_atspi_window*() const { return static_cast<::elm_interface_atspi_window*>(static_cast<D const*>(this)->p); }
      operator ::elm_interface_atspi_window const*() const { return static_cast<::elm_interface_atspi_window const*>(static_cast<D const*>(this)->p); }
   };

   template <typename D>
   struct address_const_of
   {
      operator ::elm_interface_atspi_window const*() const { return static_cast<::elm_interface_atspi_window const*>(static_cast<D const*>(this)->p); }
   };
   /// @endcond

private:

   /// @internal
   Eo* _concrete_eo_ptr() const
   {
      return static_cast<::efl::eo::concrete const*>(static_cast<void const*>(this))->_eo_ptr();
   }

};

}
/// @endcond

/// @brief Class elm_interface_atspi_window
struct elm_interface_atspi_window
      : ::efl::eo::concrete
{
   //@{
   /**
      @brief Constructs a new elm_interface_atspi_window object.

      Constructs a new elm_interface_atspi_window object. If you want this object to be a child
      of another Eo object, use an @ref efl::eo::parent expression, like the example.

      Example:
      @code
      elm_interface_atspi_window my_elm_interface_atspi_window(efl::eo::parent = parent_object);
      @endcode

      @see elm_interface_atspi_window(Eo* eo)
   */
   explicit elm_interface_atspi_window(::efl::eo::parent_type _p)
      : elm_interface_atspi_window(_ctors_call(_p))
   {}

   explicit elm_interface_atspi_window()
      : elm_interface_atspi_window(_ctors_call(::efl::eo::parent = nullptr))
   {}
   //@}

   /// @brief Eo Constructor.
   ///
   /// Constructs the object from an Eo* pointer stealing its ownership.
   ///
   /// @param eo The Eo object pointer.
   ///
   explicit elm_interface_atspi_window(Eo* eo)
      : ::efl::eo::concrete(eo)
   {}

   /// @brief nullptr_t Constructor.
   ///
   /// Constructs an empty (null) object.
   ///
   explicit elm_interface_atspi_window(std::nullptr_t)
      : ::efl::eo::concrete(nullptr)
   {}

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

   ~elm_interface_atspi_window() {}

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_activated_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED );
   }

   template <typename T>
   void
   callback_window_activated_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_ACTIVATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_created_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED );
   }

   template <typename T>
   void
   callback_window_created_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_CREATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_deactivated_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED );
   }

   template <typename T>
   void
   callback_window_deactivated_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DEACTIVATED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_destroyed_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED );
   }

   template <typename T>
   void
   callback_window_destroyed_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_DESTROYED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_maximized_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED );
   }

   template <typename T>
   void
   callback_window_maximized_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MAXIMIZED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_minimized_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED );
   }

   template <typename T>
   void
   callback_window_minimized_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_MINIMIZED, info));
   }

   template <typename F>
   ::efl::eo::signal_connection
   callback_window_restored_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::forward<F>(callback_)) );
      eo_do(_concrete_eo_ptr(),
            eo_event_callback_priority_add
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED, priority_,
            &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>, f.get()));
      return ::efl::eo::make_signal_connection
         (f, _concrete_eo_ptr(), &::efl::eo::_detail::event_callback<::elm_interface_atspi_window, function_type>,
         ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED );
   }

   template <typename T>
   void
   callback_window_restored_call(T* info)
   {
      eo_do(_concrete_eo_ptr(), eo_event_callback_call
            (ELM_INTERFACE_ATSPI_WINDOW_EVENT_WINDOW_RESTORED, info));
   }



   static Eo_Class const* _eo_class()
   {
      return(ELM_INTERFACE_ATSPI_WINDOW_INTERFACE);
   }

   /// @cond LOCAL
   struct address_of
      : ::eo_cxx::elm_interface_atspi_window::address_of<address_of>
      , ::efl::eo::detail::concrete_address_of
   {
      explicit address_of(::elm_interface_atspi_window* p)
         : ::efl::eo::detail::concrete_address_of(p)
      {}
   };
   address_of operator&() { return address_of(this); }

   struct address_const_of
      : ::eo_cxx::elm_interface_atspi_window::address_const_of<address_const_of>
      , ::efl::eo::detail::concrete_address_const_of
   {
      explicit address_const_of(::elm_interface_atspi_window const* p)
         : ::efl::eo::detail::concrete_address_const_of(p)
      {}
   };
   address_const_of operator&() const { return address_const_of(this); }

   /// @endcond

private:

   /// @internal
   static Eo* _ctors_call(::efl::eo::parent_type _p)
   {
      Eo* _ret_eo = eo_add_ref(ELM_INTERFACE_ATSPI_WINDOW_INTERFACE, _p._eo_raw);

      return _ret_eo;
   }

   /// @internal
   Eo* _concrete_eo_ptr() const { return _eo_ptr(); }
};

static_assert(sizeof(::elm_interface_atspi_window) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<::elm_interface_atspi_window>::value, "");


#include "elm_interface_atspi_window.eo.impl.hh"

#endif // EFL_GENERATED_ELM_INTERFACE_ATSPI_WINDOW_HH

