Move yaml headers out of API

LOOT no longer needs them, so don't expose implementation details.
This commit is contained in:
Oliver Hamlet
2017-10-29 16:13:51 +00:00
parent 5d69f01bf7
commit 4fc75979ec
20 changed files with 26 additions and 26 deletions
+8 -8
View File
@@ -200,20 +200,20 @@ set (LOOT_API_HEADERS "${CMAKE_SOURCE_DIR}/include/loot/api.h"
"${CMAKE_SOURCE_DIR}/include/loot/metadata/plugin_metadata.h"
"${CMAKE_SOURCE_DIR}/include/loot/metadata/priority.h"
"${CMAKE_SOURCE_DIR}/include/loot/metadata/tag.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/file.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/location.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/message.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/message_content.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/plugin_cleaning_data.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/plugin_metadata.h"
"${CMAKE_SOURCE_DIR}/include/loot/yaml/set.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/simple_message.h"
"${CMAKE_SOURCE_DIR}/src/api/api_database.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/condition_evaluator.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/condition_grammar.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/file.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/location.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/message.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/message_content.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/plugin_cleaning_data.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/plugin_metadata.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/set.h"
"${CMAKE_SOURCE_DIR}/src/api/metadata/yaml/tag.h"
"${CMAKE_SOURCE_DIR}/src/api/game/game.h"
"${CMAKE_SOURCE_DIR}/src/api/game/game_cache.h"
"${CMAKE_SOURCE_DIR}/src/api/game/load_order_handler.h"
+1 -1
View File
@@ -30,7 +30,7 @@
#include <boost/algorithm/string.hpp>
#include "loot/exception/file_access_error.h"
#include "loot/yaml/plugin_metadata.h"
#include "api/metadata/yaml/plugin_metadata.h"
#include "api/game/game.h"
#include "api/metadata/condition_evaluator.h"
#include "api/plugin/plugin_sorter.h"
+1 -1
View File
@@ -26,7 +26,7 @@
#include <boost/algorithm/string.hpp>
#include "loot/yaml/file.h"
#include "api/metadata/yaml/file.h"
namespace loot {
File::File() {}
@@ -35,13 +35,13 @@
#include "loot/metadata/plugin_metadata.h"
#include "loot/yaml/file.h"
#include "loot/yaml/location.h"
#include "loot/yaml/message_content.h"
#include "loot/yaml/message.h"
#include "loot/yaml/plugin_cleaning_data.h"
#include "loot/yaml/set.h"
#include "loot/yaml/tag.h"
#include "api/metadata/yaml/file.h"
#include "api/metadata/yaml/location.h"
#include "api/metadata/yaml/message_content.h"
#include "api/metadata/yaml/message.h"
#include "api/metadata/yaml/plugin_cleaning_data.h"
#include "api/metadata/yaml/set.h"
#include "api/metadata/yaml/tag.h"
namespace YAML {
template<>
+1 -1
View File
@@ -29,7 +29,7 @@
#include <boost/log/trivial.hpp>
#include "loot/exception/file_access_error.h"
#include "loot/yaml/plugin_metadata.h"
#include "api/metadata/yaml/plugin_metadata.h"
#include "api/game/game.h"
#include "api/metadata/condition_evaluator.h"
@@ -25,7 +25,7 @@ along with LOOT. If not, see
#ifndef LOOT_TESTS_API_INTERNALS_HELPERS_YAML_SET_HELPERS_TEST
#define LOOT_TESTS_API_INTERNALS_HELPERS_YAML_SET_HELPERS_TEST
#include "loot/yaml/set.h"
#include "api/metadata/yaml/set.h"
#include <gtest/gtest.h>
+1 -1
View File
@@ -29,7 +29,7 @@ along with LOOT. If not, see
#include <gtest/gtest.h>
#include "loot/yaml/file.h"
#include "api/metadata/yaml/file.h"
namespace loot {
namespace test {
@@ -29,7 +29,7 @@ along with LOOT. If not, see
#include <gtest/gtest.h>
#include "loot/yaml/location.h"
#include "api/metadata/yaml/location.h"
namespace loot {
namespace test {
@@ -29,7 +29,7 @@ along with LOOT. If not, see
#include <gtest/gtest.h>
#include "loot/yaml/message_content.h"
#include "api/metadata/yaml/message_content.h"
namespace loot {
namespace test {
@@ -28,7 +28,7 @@ along with LOOT. If not, see
#include "loot/metadata/message.h"
#include "api/game/game.h"
#include "loot/yaml/message.h"
#include "api/metadata/yaml/message.h"
#include "tests/common_game_test_fixture.h"
namespace loot {
@@ -28,7 +28,7 @@ along with LOOT. If not, see
#include "loot/metadata/plugin_cleaning_data.h"
#include "api/game/game.h"
#include "loot/yaml/plugin_cleaning_data.h"
#include "api/metadata/yaml/plugin_cleaning_data.h"
#include "tests/common_game_test_fixture.h"
namespace loot {
@@ -29,7 +29,7 @@ along with LOOT. If not, see
#include "tests/common_game_test_fixture.h"
#include "loot/yaml/plugin_metadata.h"
#include "api/metadata/yaml/plugin_metadata.h"
namespace loot {
namespace test {
+1 -1
View File
@@ -29,7 +29,7 @@ along with LOOT. If not, see
#include <gtest/gtest.h>
#include "loot/yaml/tag.h"
#include "api/metadata/yaml/tag.h"
namespace loot {
namespace test {