Namespaces | |
| namespace | anonymous_namespace{PluginLoader.cpp} |
Functions | |
| void | unload (Plugin &plugin) |
| bool | load (const PluginDescriptor &descriptor, bool skip_deps, const std::vector< std::string > &capabilities_to_enable, const std::function< std::string(const Plugin &)> ®istry_precheck, Plugin &out, std::string &error, bool *registration_failed) |
| bool | install_packages (const std::vector< std::string > &pkgs, std::string &error) |
| bool | inspect_local_plugin_package (const boost::filesystem::path &filepath, PluginDescriptor &plugin_descriptor, bool &existing_installation, std::string &error) |
| bool | install_plugin (const boost::filesystem::path &filepath, const std::string &cloud_user_id, std::string &error) |
| bool | install_plugin (const boost::filesystem::path &filepath, const std::string &cloud_user_id, PluginDescriptor &plugin_descriptor, std::string &error) |
| bool Slic3r::plugin_loader::inspect_local_plugin_package | ( | const boost::filesystem::path & | filepath, |
| PluginDescriptor & | plugin_descriptor, | ||
| bool & | existing_installation, | ||
| std::string & | error ) |
References Slic3r::PluginDescriptor::plugin_root.
Referenced by Slic3r::PluginManager::inspect_local_plugin_package().
| bool Slic3r::plugin_loader::install_packages | ( | const std::vector< std::string > & | pkgs, |
| std::string & | error ) |
References Slic3r::PythonInterpreter::bundled_python_executable(), Slic3r::PythonInterpreter::bundled_uv_path(), and Slic3r::PythonInterpreter::shared_packages_dir().
Referenced by load().
| bool Slic3r::plugin_loader::install_plugin | ( | const boost::filesystem::path & | filepath, |
| const std::string & | cloud_user_id, | ||
| PluginDescriptor & | plugin_descriptor, | ||
| std::string & | error ) |
References _u8L, Slic3r::apply_plugin_metadata_fallbacks(), Slic3r::PluginDescriptor::clear_error(), Slic3r::PluginDescriptor::cloud, Slic3r::PluginDescriptor::cloud_uuid(), Slic3r::PluginDescriptor::dependencies, Slic3r::PluginDescriptor::entry_path, Slic3r::GUI::format(), Slic3r::get_cloud_plugin_dir(), Slic3r::INSTALL_STATE_FILE, Slic3r::is_valid_plugin_id(), Slic3r::PluginDescriptor::name, Slic3r::PluginDescriptor::plugin_key, Slic3r::PluginDescriptor::plugin_root, Slic3r::PluginDescriptor::set_metadata_valid(), and Slic3r::write_install_state().
| bool Slic3r::plugin_loader::install_plugin | ( | const boost::filesystem::path & | filepath, |
| const std::string & | cloud_user_id, | ||
| std::string & | error ) |
References install_plugin().
Referenced by install_plugin(), and Slic3r::PluginManager::install_plugin().
| bool Slic3r::plugin_loader::load | ( | const PluginDescriptor & | descriptor, |
| bool | skip_deps, | ||
| const std::vector< std::string > & | capabilities_to_enable, | ||
| const std::function< std::string(const Plugin &)> & | registry_precheck, | ||
| Plugin & | out, | ||
| std::string & | error, | ||
| bool * | registration_failed ) |
References _u8L, Slic3r::PythonPluginBridge::begin_plugin_capture(), Slic3r::PythonPluginBridge::cancel_plugin_capture(), Slic3r::Plugin::capabilities, Slic3r::PluginInstallState::capabilities, Slic3r::PluginConfig::capability_type_label(), Slic3r::PluginDescriptor::clear_error(), Slic3r::collect_resource_texture_files(), Slic3r::PluginDescriptor::dependencies, Slic3r::Plugin::descriptor, Slic3r::PluginDescriptor::entry_path, Slic3r::PythonPluginBridge::finalize_plugin_capture(), Slic3r::GUI::format(), Slic3r::PluginDescriptor::has_error(), install_packages(), Slic3r::PythonInterpreter::instance(), Slic3r::PythonPluginBridge::instance(), Slic3r::PythonInterpreter::is_initialized(), Slic3r::PluginDescriptor::is_metadata_valid(), Slic3r::PythonInterpreter::last_error(), Slic3r::module(), Slic3r::Plugin::module_name, Slic3r::PluginDescriptor::normalized_error(), Slic3r::PluginDescriptor::plugin_key, Slic3r::Plugin::plugin_modules, Slic3r::PluginDescriptor::plugin_root, Slic3r::Plugin::plugin_sys_paths, and Slic3r::read_install_state().
Referenced by Slic3r::PluginManager::load_plugin_impl().
| void Slic3r::plugin_loader::unload | ( | Plugin & | plugin | ) |
References Slic3r::Plugin::capabilities, and Slic3r::Plugin::release_module().
Referenced by Slic3r::PluginManager::load_plugin_impl(), Slic3r::PluginManager::unload_all_plugins(), and Slic3r::PluginManager::unload_plugin().