#ifndef LIBADWAITAMM_HELPERS_PROPERTIES_HPP #define LIBADWAITAMM_HELPERS_PROPERTIES_HPP #include #include #include namespace turns::adw::helpers { template struct deduced_property_proxy { using type = Glib::PropertyProxy; }; template struct deduced_property_proxy { using type = Glib::PropertyProxy_ReadOnly; }; template using deduced_property_proxy_t = typename deduced_property_proxy::type; template auto make_property_proxy(ObjectType && object, char const * property) { return deduced_property_proxy_t>{&object, property}; } } // namespace turns::adw::helpers #endif