/* This file is part of KDBindings. SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> Author: Sean Harmer <sean.harmer@kdab.com> SPDX-License-Identifier: MIT Contact KDAB at <info@kdab.com> for commercial licensing options.*/#pragma once#include<functional>namespaceKDBindings{template<typenameT>classPropertyUpdater{public:PropertyUpdater()=default;virtual~PropertyUpdater()=default;PropertyUpdater(PropertyUpdaterconst&other)=default;PropertyUpdater&operator=(PropertyUpdaterconst&other)=default;PropertyUpdater(PropertyUpdater&&other)=default;PropertyUpdater&operator=(PropertyUpdater&&other)=default;virtualvoidsetUpdateFunction(std::function<void(T&&)>const&updateFunction)=0;virtualTget()const=0;};}// namespace KDBindings