mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove obsolete PluginTags from the API
This commit is contained in:
@@ -224,7 +224,6 @@ set (LOOT_API_HEADERS "${CMAKE_SOURCE_DIR}/include/loot/api.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/yaml/tag.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/plugin_interface.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/struct/masterlist_info.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/struct/plugin_tags.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/struct/simple_message.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/windows_encoding_converters.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/api/api_database.h"
|
||||
|
||||
@@ -24,9 +24,6 @@ Public-Field Data Structures
|
||||
.. doxygenstruct:: loot::SimpleMessage
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: loot::PluginTags
|
||||
:members:
|
||||
|
||||
Functions
|
||||
=========
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "loot/metadata/message.h"
|
||||
#include "loot/metadata/plugin_metadata.h"
|
||||
#include "loot/struct/masterlist_info.h"
|
||||
#include "loot/struct/plugin_tags.h"
|
||||
#include "loot/struct/simple_message.h"
|
||||
|
||||
namespace loot {
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/* 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_TAGS
|
||||
#define LOOT_PLUGIN_TAGS
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
namespace loot {
|
||||
/**
|
||||
* @brief A structure that holds data about the Bash Tag suggestions made by
|
||||
* LOOT for a plugin.
|
||||
*/
|
||||
struct PluginTags {
|
||||
inline PluginTags() : userlist_modified(false) {}
|
||||
|
||||
/**
|
||||
* @brief A set of Bash Tag names suggested for addition to the specified
|
||||
* plugin. Empty if no Bash Tag additions are suggested.
|
||||
*/
|
||||
std::set<std::string> added;
|
||||
|
||||
/**
|
||||
* @brief A set of Bash Tag names suggested for removal from the specified
|
||||
* plugin. Empty if no Bash Tag removals are suggested.
|
||||
*/
|
||||
std::set<std::string> removed;
|
||||
|
||||
/**
|
||||
* @brief `true` if the Bash Tag suggestions were modified by data in the
|
||||
* userlist, `false` otherwise.
|
||||
*/
|
||||
bool userlist_modified;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user