47 namespace plugin_manager
106 bool load_all_plugins(
const std::vector<std::filesystem::path>& directory_names = {});
115 bool load(
const std::string& plugin_name,
const std::filesystem::path& file_path = std::filesystem::path());
130 bool unload(
const std::string& plugin_name);
T * get_first_extension() const
void add_existing_options_description(const ProgramOptions &existing_options)
u64 add_model_changed_callback(std::function< void(bool, std::string const &, std::string const &)> callback)
bool has_valid_file_extension(std::filesystem::path file_name)
T * get_first_extension(const std::string &plugin_name, bool initialize=true)
bool unload(const std::string &plugin_name)
std::set< std::string > get_plugin_names()
BasePluginInterface * get_plugin_instance(const std::string &plugin_name, bool initialize, bool silent)
std::unordered_map< std::string, std::string > get_cli_plugin_flags()
std::unordered_map< std::string, std::string > get_ui_plugin_flags()
bool unload_all_plugins()
std::filesystem::path get_plugin_path(std::string plugin_name)
ProgramOptions get_cli_plugin_options()
void remove_model_changed_callback(u64 id)
bool load_all_plugins(const std::vector< std::filesystem::path > &directory_names)
std::vector< PluginFeature > get_plugin_features(std::string name)
bool load(const std::string &plugin_name, const std::filesystem::path &file_path_or_empty)
std::vector< std::string > args
FacExtensionInterface::Feature feature