#ifndef EFL_PLAYER_EO_HH
#define EFL_PLAYER_EO_HH
#include <Eo.h>

extern "C" {
#include "efl_player.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
#ifndef EFL_PLAYER_FWD_GUARD
#define EFL_PLAYER_FWD_GUARD
namespace efl { 
struct Player;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Player> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Player&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Player const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Player const&> : ::std::true_type {}; } }
#endif

namespace eo_cxx {
namespace efl { 
struct Player {
   ::efl::eolian::return_traits<bool>::type playable_get() const;
   ::efl::eolian::return_traits<bool>::type play_get() const;
   ::efl::eolian::return_traits<void>::type play_set( ::efl::eolian::in_traits<bool>::type play) const;
   ::efl::eolian::return_traits<double>::type pos_get() const;
   ::efl::eolian::return_traits<void>::type pos_set( ::efl::eolian::in_traits<double>::type sec) const;
   ::efl::eolian::return_traits<double>::type progress_get() const;
   ::efl::eolian::return_traits<double>::type play_speed_get() const;
   ::efl::eolian::return_traits<void>::type play_speed_set( ::efl::eolian::in_traits<double>::type speed) const;
   ::efl::eolian::return_traits<double>::type volume_get() const;
   ::efl::eolian::return_traits<void>::type volume_set( ::efl::eolian::in_traits<double>::type volume) const;
   ::efl::eolian::return_traits<bool>::type mute_get() const;
   ::efl::eolian::return_traits<void>::type mute_set( ::efl::eolian::in_traits<bool>::type mute) const;
   ::efl::eolian::return_traits<double>::type length_get() const;
   ::efl::eolian::return_traits<bool>::type seekable_get() const;
   ::efl::eolian::return_traits<void>::type start() const;
   ::efl::eolian::return_traits<void>::type stop() const;
   static Efl_Class const* _eo_class()
   {
      return EFL_PLAYER_INTERFACE;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Player *>(this))); }
   operator ::efl::Player() const;
   operator ::efl::Player&();
   operator ::efl::Player const&() const;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Player> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Player const > operator&() const { return {this}; }
   /// @endcond
};
} 
}
namespace efl { 
struct Player : private ::efl::eo::concrete
{
   explicit Player( ::Eo* eo)
      : ::efl::eo::concrete(eo) {}
   Player(std::nullptr_t)
      : ::efl::eo::concrete(nullptr) {}
   explicit Player() = default;
   Player(Player const&) = default;
   Player(Player&&) = default;
   Player& operator=(Player const&) = default;
   Player& operator=(Player&&) = default;
   template <typename Derived>
   Player(Derived&& derived
      , typename std::enable_if<
         ::efl::eo::is_eolian_object<Derived>::value
          && std::is_base_of< Player, Derived>::value>::type* = 0)
         : ::efl::eo::concrete(derived._eo_ptr()) {}

   ::efl::eolian::return_traits<bool>::type playable_get() const;
   ::efl::eolian::return_traits<bool>::type play_get() const;
   ::efl::eolian::return_traits<void>::type play_set( ::efl::eolian::in_traits<bool>::type play) const;
   ::efl::eolian::return_traits<double>::type pos_get() const;
   ::efl::eolian::return_traits<void>::type pos_set( ::efl::eolian::in_traits<double>::type sec) const;
   ::efl::eolian::return_traits<double>::type progress_get() const;
   ::efl::eolian::return_traits<double>::type play_speed_get() const;
   ::efl::eolian::return_traits<void>::type play_speed_set( ::efl::eolian::in_traits<double>::type speed) const;
   ::efl::eolian::return_traits<double>::type volume_get() const;
   ::efl::eolian::return_traits<void>::type volume_set( ::efl::eolian::in_traits<double>::type volume) const;
   ::efl::eolian::return_traits<bool>::type mute_get() const;
   ::efl::eolian::return_traits<void>::type mute_set( ::efl::eolian::in_traits<bool>::type mute) const;
   ::efl::eolian::return_traits<double>::type length_get() const;
   ::efl::eolian::return_traits<bool>::type seekable_get() const;
   ::efl::eolian::return_traits<void>::type start() const;
   ::efl::eolian::return_traits<void>::type stop() const;
   static Efl_Class const* _eo_class()
   {
      return EFL_PLAYER_INTERFACE;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Player *>(this))); }
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Player> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Player const > operator&() const { return {this}; }
   /// @endcond
   ::efl::eo::wref<Player> _get_wref() const { return ::efl::eo::wref<Player>(*this); }
   ::efl::eo::concrete const& _get_concrete() const { return *this; }
   ::efl::eo::concrete& _get_concrete() { return *this; }
   using ::efl::eo::concrete::_eo_ptr;
   using ::efl::eo::concrete::_release;
   using ::efl::eo::concrete::_reset;
   using ::efl::eo::concrete::_delete;
   using ::efl::eo::concrete::operator bool;
#ifdef EFL_CXXPERIMENTAL
   const Player* operator->() const { return this; }
   Player* operator->() { return this; }
   operator Eo*() const { return _eo_ptr(); }
#endif 
   friend bool operator==(Player const& lhs, Player const& rhs)
   { return lhs._get_concrete() == rhs._get_concrete(); }
   friend bool operator!=(Player const& lhs, Player const& rhs)
   { return !(lhs == rhs); }
};
static_assert(sizeof(Player) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Player>::value, "");
} 
#endif
