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