#pragma once #include #include "db/ProxyEntity.hpp" #include "main/GuiUtils.hpp" class ProfileEditor { public: virtual void onStart(QSharedPointer ent) = 0; virtual bool onEnd() = 0; std::function get_edit_dialog; // cached editor std::function editor_cache_updated; virtual QList> get_editor_cached() { return {}; }; };