From b95258f419c62f7f38ec6128568df5897e4f5696 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 4 Apr 2025 22:15:41 +0200 Subject: adw: clean up property definitions --- adw/include/adwaitamm/helpers/properties.hpp | 35 ---------------------------- 1 file changed, 35 deletions(-) delete mode 100644 adw/include/adwaitamm/helpers/properties.hpp (limited to 'adw/include/adwaitamm/helpers') diff --git a/adw/include/adwaitamm/helpers/properties.hpp b/adw/include/adwaitamm/helpers/properties.hpp deleted file mode 100644 index fad99d6..0000000 --- a/adw/include/adwaitamm/helpers/properties.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef LIBADWAITAMM_HELPERS_PROPERTIES_HPP -#define LIBADWAITAMM_HELPERS_PROPERTIES_HPP - -#include -#include - -#include - -namespace Adwaita::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 Adwaita::helpers - -#endif \ No newline at end of file -- cgit v1.2.3