result values of agents::UninstallPlugin
More...
#include <plugin_install_result.hpp>
|
| PluginUninstallResult () |
| PluginUninstallResult (Result result, const std::filesystem::path &backup) |
| constructs from the given result, in addition a path is provided the points to a backup of the uninstalled plugin. The backup can later be used to restore the persistent subfolder that may contain e. g. license files
|
|
Result | result |
| contains the uninstallation result
|
std::filesystem::path | backup |
| may contain a path to a backup of the uninstalled plugin. This can be later used to restore the persistent subfolder containing e. g. license files.
|
◆ Result
describes the possible results of a plugin uninstallation
Enumerator |
---|
SUCCESS | |
ERROR_PLUGIN_IN_USE | this application (or another process) currently uses the plugin, so it cannot be deleted. Tell user to quit and manually delete plugin directory AgentPlugin::GetPath()
|
ERROR_INTERNAL_PLUGIN_DOES_NOT_EXIST | the plugin name is not one of the names returned by AgentPlugin::GetName()
|
ERROR_WHILE_UPDATING_PLUGINS_AFTER_UNINSTALL | |
ERROR_NO_ACTION_TAKEN | |
◆ PluginUninstallResult() [1/2]
nexuslua::PluginUninstallResult::PluginUninstallResult |
( |
| ) |
|
|
inline |
◆ PluginUninstallResult() [2/2]
nexuslua::PluginUninstallResult::PluginUninstallResult |
( |
Result | result, |
|
|
const std::filesystem::path & | backup ) |
|
inline |
constructs from the given result, in addition a path is provided the points to a backup of the uninstalled plugin. The backup can later be used to restore the persistent subfolder that may contain e. g. license files
◆ backup
std::filesystem::path nexuslua::PluginUninstallResult::backup |
may contain a path to a backup of the uninstalled plugin. This can be later used to restore the persistent subfolder containing e. g. license files.
◆ result
Result nexuslua::PluginUninstallResult::result |
contains the uninstallation result
The documentation for this struct was generated from the following file: