Move game and plugin class files into subfolders.

Except the PluginMetadata class, which stays in the metadata folder.
This commit is contained in:
Oliver Hamlet
2015-06-13 22:43:04 +01:00
parent 652461cf9a
commit 22a6db1ad3
19 changed files with 39 additions and 39 deletions
+8 -8
View File
@@ -86,13 +86,13 @@ set (LOOT_SRC "${CMAKE_SOURCE_DIR}/src/backend/metadata/conditional_metadata.c
"${CMAKE_SOURCE_DIR}/src/backend/metadata/plugin_dirty_info.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/metadata/plugin_metadata.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/metadata/tag.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/game.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/game_settings.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/game/game.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/game/game_settings.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/game/load_order_handler.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/metadata_list.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/masterlist.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/plugin.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/plugin_loader.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/plugin/plugin.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/plugin/plugin_loader.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/helpers.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/language.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/version.cpp"
@@ -110,13 +110,13 @@ set (LOOT_HEADERS "${CMAKE_SOURCE_DIR}/src/backend/metadata/condition_grammar.h"
"${CMAKE_SOURCE_DIR}/src/backend/metadata/plugin_dirty_info.h"
"${CMAKE_SOURCE_DIR}/src/backend/metadata/plugin_metadata.h"
"${CMAKE_SOURCE_DIR}/src/backend/metadata/tag.h"
"${CMAKE_SOURCE_DIR}/src/backend/game.h"
"${CMAKE_SOURCE_DIR}/src/backend/game_settings.h"
"${CMAKE_SOURCE_DIR}/src/backend/game/game.h"
"${CMAKE_SOURCE_DIR}/src/backend/game/game_settings.h"
"${CMAKE_SOURCE_DIR}/src/backend/game/load_order_handler.h"
"${CMAKE_SOURCE_DIR}/src/backend/metadata_list.h"
"${CMAKE_SOURCE_DIR}/src/backend/masterlist.h"
"${CMAKE_SOURCE_DIR}/src/backend/plugin.h"
"${CMAKE_SOURCE_DIR}/src/backend/plugin_loader.h"
"${CMAKE_SOURCE_DIR}/src/backend/plugin/plugin.h"
"${CMAKE_SOURCE_DIR}/src/backend/plugin/plugin_loader.h"
"${CMAKE_SOURCE_DIR}/src/backend/helpers.h"
"${CMAKE_SOURCE_DIR}/src/backend/language.h"
"${CMAKE_SOURCE_DIR}/src/backend/version.h"
+1 -1
View File
@@ -23,7 +23,7 @@
*/
#include "api.h"
#include "../backend/game.h"
#include "../backend/game/game.h"
#include "../backend/globals.h"
#include "../backend/error.h"
#include "../backend/streams.h"
@@ -23,11 +23,11 @@
*/
#include "game.h"
#include "globals.h"
#include "helpers.h"
#include "error.h"
#include "streams.h"
#include "graph.h"
#include "../globals.h"
#include "../helpers.h"
#include "../error.h"
#include "../streams.h"
#include "../graph.h"
#include <boost/algorithm/string.hpp>
#include <boost/thread.hpp>
@@ -26,10 +26,10 @@
#define __LOOT_GAME__
#include "game_settings.h"
#include "game/load_order_handler.h"
#include "plugin.h"
#include "metadata_list.h"
#include "masterlist.h"
#include "load_order_handler.h"
#include "../plugin/plugin.h"
#include "../metadata_list.h"
#include "../masterlist.h"
#include <string>
#include <vector>
@@ -23,9 +23,9 @@
*/
#include "game_settings.h"
#include "globals.h"
#include "helpers.h"
#include "error.h"
#include "../globals.h"
#include "../helpers.h"
#include "../error.h"
#include <boost/algorithm/string.hpp>
#include <boost/locale.hpp>
+1 -1
View File
@@ -25,7 +25,7 @@
#ifndef __LOOT_LOAD_ORDER_HANDLER__
#define __LOOT_LOAD_ORDER_HANDLER__
#include "../game_settings.h"
#include "game_settings.h"
#include <string>
#include <list>
+1 -1
View File
@@ -25,7 +25,7 @@
#include "error.h"
#include "streams.h"
#include "helpers.h"
#include "game.h"
#include "game/game.h"
#include <boost/log/trivial.hpp>
#include <boost/locale.hpp>
+1 -1
View File
@@ -25,7 +25,7 @@
#ifndef __LOOT_GRAPH__
#define __LOOT_GRAPH__
#include "plugin.h"
#include "plugin/plugin.h"
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
+1 -1
View File
@@ -23,7 +23,7 @@
*/
#include "masterlist.h"
#include "game.h"
#include "game/game.h"
#include "error.h"
using namespace std;
+2 -2
View File
@@ -33,9 +33,9 @@
#define BOOST_SPIRIT_USE_PHOENIX_V3 1
#endif
#include "../game.h"
#include "../game/game.h"
#include "../helpers.h"
#include "../plugin.h"
#include "../plugin/plugin.h"
#include "../version.h"
#include "../error.h"
+1 -1
View File
@@ -23,7 +23,7 @@
*/
#include "plugin_metadata.h"
#include "../game.h"
#include "../game/game.h"
#include "../helpers.h"
#include <boost/algorithm/string.hpp>
@@ -24,8 +24,8 @@
#include "plugin.h"
#include "plugin_loader.h"
#include "game.h"
#include "helpers.h"
#include "../game/game.h"
#include "../helpers.h"
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
@@ -24,8 +24,8 @@
#ifndef __LOOT_PLUGIN__
#define __LOOT_PLUGIN__
#include "metadata/formid.h"
#include "metadata/plugin_metadata.h"
#include "../metadata/formid.h"
#include "../metadata/plugin_metadata.h"
#include <cstdint>
#include <string>
@@ -23,8 +23,8 @@
*/
#include "plugin_loader.h"
#include "game.h"
#include "helpers.h"
#include "../game/game.h"
#include "../helpers.h"
#include <src/libespm.h>
@@ -110,7 +110,7 @@ namespace loot {
BOOST_LOG_TRIVIAL(trace) << name << ": " << "Reading the description.";
_description = boost::locale::conv::to_utf<char>(file->getDescription(), "Windows-1252", boost::locale::conv::stop);
}
catch (std::exception& e) {
catch (std::exception&) {
delete file;
throw;
}
@@ -24,7 +24,7 @@
#ifndef __LOOT_PLUGIN_LOADER__
#define __LOOT_PLUGIN_LOADER__
#include "metadata/formid.h"
#include "../metadata/formid.h"
#include <cstdint>
#include <string>
+1 -1
View File
@@ -25,7 +25,7 @@
#ifndef __LOOT_VERSION__
#define __LOOT_VERSION__
#include "plugin.h"
#include "plugin/plugin.h"
#include <string>
#include <boost/filesystem.hpp>
+1 -1
View File
@@ -26,7 +26,7 @@
#define __LOOT_GUI_HANDLER__
#include "loot_state.h"
#include "../backend/plugin.h"
#include "../backend/plugin/plugin.h"
#include "../backend/metadata/plugin_metadata.h"
#include <include/wrapper/cef_message_router.h>
+1 -1
View File
@@ -25,7 +25,7 @@
#ifndef __LOOT_GUI_LOOT_STATE__
#define __LOOT_GUI_LOOT_STATE__
#include "../backend/game.h"
#include "../backend/game/game.h"
#include <include/cef_app.h>
#include <include/base/cef_lock.h>