mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Move GameType header to API includes folder
It'll be used by the C++ API.
This commit is contained in:
+1
-1
@@ -195,7 +195,6 @@ set (LOOT_HEADERS "${CMAKE_SOURCE_DIR}/src/backend/app/loot_paths.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/game/game.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/game/game_cache.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/game/game_settings.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/game/game_type.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"
|
||||
@@ -208,6 +207,7 @@ set (LOOT_HEADERS "${CMAKE_SOURCE_DIR}/src/backend/app/loot_paths.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/helpers/version.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/helpers/yaml_set_helpers.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/backend/error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/game_type.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/message_type.h")
|
||||
|
||||
set (LOOT_GUI_SRC "${CMAKE_SOURCE_DIR}/src/gui/main.cpp"
|
||||
|
||||
@@ -22,8 +22,8 @@ along with LOOT. If not, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOOT_BACKEND_GAME_GAME_TYPE
|
||||
#define LOOT_BACKEND_GAME_GAME_TYPE
|
||||
#ifndef LOOT_GAME_TYPE
|
||||
#define LOOT_GAME_TYPE
|
||||
|
||||
namespace loot {
|
||||
enum struct GameType : unsigned int {
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <libespm/GameId.h>
|
||||
#include <yaml-cpp/yaml.h>
|
||||
|
||||
#include "backend/game/game_type.h"
|
||||
#include "loot/game_type.h"
|
||||
|
||||
namespace loot {
|
||||
class GameSettings {
|
||||
|
||||
@@ -25,7 +25,7 @@ along with LOOT. If not, see
|
||||
#ifndef LOOT_TESTS_BACKEND_BASE_GAME_TEST
|
||||
#define LOOT_TESTS_BACKEND_BASE_GAME_TEST
|
||||
|
||||
#include "backend/game/game_type.h"
|
||||
#include "loot/game_type.h"
|
||||
#include "tests/common_game_test_fixture.h"
|
||||
|
||||
namespace loot {
|
||||
|
||||
Reference in New Issue
Block a user