mirror of
https://github.com/loot/libloot-python.git
synced 2026-07-27 14:14:13 -07:00
This is a breaking change: - LanguageCode has been removed - The SimpleMessage Python class is now "SimpleMessage", from "Message" - DatabaseInterface::sort_plugins() has been removed - DatabaseInterface::get_plugin_messages() has been replaced with DatabaseInterface::get_plugin_metadata() followed by PluginMetadata::get_simple_messages() - set_logging_verbosity(), set_log_file() and initialise_locale() have been added Not everything in the v0.11 API has been wrapped, to limit the potential for future breaking changes. The PluginTags struct and PluginCleanliness enum and their associated functions have been re-implemented as part of the Python wrapper as they were removed from the API due to no longer exposing any additional functionality but are still useful.
53 lines
1.5 KiB
C++
53 lines
1.5 KiB
C++
/* LOOT
|
|
|
|
A load order optimisation tool for Oblivion, Skyrim, Fallout 3 and
|
|
Fallout: New Vegas.
|
|
|
|
Copyright (C) 2012-2016 WrinklyNinja
|
|
|
|
This file is part of LOOT.
|
|
|
|
LOOT is free software: you can redistribute
|
|
it and/or modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation, either version 3 of
|
|
the License, or (at your option) any later version.
|
|
|
|
LOOT is distributed in the hope that it will
|
|
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with LOOT. If not, see
|
|
<https://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef LOOT_PLUGIN_CLEANLINESS
|
|
#define LOOT_PLUGIN_CLEANLINESS
|
|
|
|
/**
|
|
* The namespace used by the LOOT API.
|
|
*/
|
|
namespace loot {
|
|
/**
|
|
* @brief Codes used to indicate the cleanliness of a plugin according to the
|
|
* information contained within the loaded masterlist/userlist.
|
|
*/
|
|
enum struct PluginCleanliness : unsigned int {
|
|
/** Indicates that the plugin is clean. */
|
|
clean,
|
|
/** Indicates that the plugin is dirty. */
|
|
dirty,
|
|
/**
|
|
* Indicates that the plugin contains dirty edits, but that they are
|
|
* part of the plugin's intended functionality and should not be removed.
|
|
*/
|
|
do_not_clean,
|
|
/**
|
|
* Indicates that no data is available on whether the plugin is dirty or not.
|
|
*/
|
|
unknown,
|
|
};
|
|
}
|
|
|
|
#endif
|