nexuslua
Loading...
Searching...
No Matches
plugin_install_result.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2025 acrion innovations GmbH
3Authors: Stefan Zipproth, s.zipproth@acrion.ch
4
5This file is part of nexuslua, see https://github.com/acrion/nexuslua and https://nexuslua.org
6
7nexuslua is offered under a commercial and under the AGPL license.
8For commercial licensing, contact us at https://acrion.ch/sales. For AGPL licensing, see below.
9
10AGPL licensing:
11
12nexuslua is free software: you can redistribute it and/or modify
13it under the terms of the GNU Affero General Public License as published by
14the Free Software Foundation, either version 3 of the License, or
15(at your option) any later version.
16
17nexuslua is distributed in the hope that it will be useful,
18but WITHOUT ANY WARRANTY; without even the implied warranty of
19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20GNU Affero General Public License for more details.
21
22You should have received a copy of the GNU Affero General Public License
23along with nexuslua. If not, see <https://www.gnu.org/licenses/>.
24*/
25
26#pragma once
27
28#include <filesystem>
29
30namespace nexuslua
31{
42
71} // namespace nexuslua
The nexuslua library is implemented inside this namespace.
PluginInstallResult
result values of agents::InstallPlugin
Definition plugin_install_result.hpp:34
@ ERROR_PLUGIN_ALREADY_INSTALLED
the target directory already exists. If user wants to update, he first has to uninstall that plugin
Definition plugin_install_result.hpp:36
@ ERROR_COPYING_PLUGIN_TO_TARGET_DIRECTORY
Definition plugin_install_result.hpp:38
@ ERROR_INVALID_SRC
Definition plugin_install_result.hpp:39
@ ERROR_DIRECTORY_DOES_NOT_EXIST
the source directory the user specified does not exist
Definition plugin_install_result.hpp:37
@ SUCCESS
Definition plugin_install_result.hpp:35
@ ERROR_WHILE_CREATING_INSTANCE
in case of this result, parameter errorMessage of method InstallPlugin contains an English error mess...
Definition plugin_install_result.hpp:40
Result result
contains the uninstallation result
Definition plugin_install_result.hpp:68
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 uninst...
Definition plugin_install_result.hpp:62
PluginUninstallResult()
Definition plugin_install_result.hpp:56
Result
describes the possible results of a plugin uninstallation
Definition plugin_install_result.hpp:48
@ ERROR_WHILE_UPDATING_PLUGINS_AFTER_UNINSTALL
Definition plugin_install_result.hpp:52
@ ERROR_PLUGIN_IN_USE
this application (or another process) currently uses the plugin, so it cannot be deleted....
Definition plugin_install_result.hpp:50
@ ERROR_NO_ACTION_TAKEN
Definition plugin_install_result.hpp:53
@ SUCCESS
Definition plugin_install_result.hpp:49
@ ERROR_INTERNAL_PLUGIN_DOES_NOT_EXIST
the plugin name is not one of the names returned by AgentPlugin::GetName()
Definition plugin_install_result.hpp:51
std::filesystem::path backup
may contain a path to a backup of the uninstalled plugin. This can be later used to restore the persi...
Definition plugin_install_result.hpp:69