From 46133d56edbed7eba8a912fa522e2af5e490b651 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 2 Feb 2017 18:39:12 +0000 Subject: [PATCH] Remove obsolete PluginTags from the API --- CMakeLists.txt | 1 - docs/api/reference.rst | 3 -- include/loot/database_interface.h | 1 - include/loot/struct/plugin_tags.h | 58 ------------------------------- 4 files changed, 63 deletions(-) delete mode 100644 include/loot/struct/plugin_tags.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 71ed08a2..e4a38102 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" diff --git a/docs/api/reference.rst b/docs/api/reference.rst index ebf50ca0..47e9d019 100644 --- a/docs/api/reference.rst +++ b/docs/api/reference.rst @@ -24,9 +24,6 @@ Public-Field Data Structures .. doxygenstruct:: loot::SimpleMessage :members: -.. doxygenstruct:: loot::PluginTags - :members: - Functions ========= diff --git a/include/loot/database_interface.h b/include/loot/database_interface.h index fd0eb908..26aa361b 100644 --- a/include/loot/database_interface.h +++ b/include/loot/database_interface.h @@ -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 { diff --git a/include/loot/struct/plugin_tags.h b/include/loot/struct/plugin_tags.h deleted file mode 100644 index ef45b5da..00000000 --- a/include/loot/struct/plugin_tags.h +++ /dev/null @@ -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 - . - */ -#ifndef LOOT_PLUGIN_TAGS -#define LOOT_PLUGIN_TAGS - -#include -#include - -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 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 removed; - - /** - * @brief `true` if the Bash Tag suggestions were modified by data in the - * userlist, `false` otherwise. - */ - bool userlist_modified; -}; -} - -#endif