mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Refactor GameDetectionError into GUI code
This commit is contained in:
+1
-1
@@ -196,7 +196,6 @@ set (LOOT_API_HEADERS "${CMAKE_SOURCE_DIR}/include/loot/api.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/exception/condition_syntax_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/exception/cyclic_interaction_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/exception/file_access_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/exception/game_detection_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/exception/git_state_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/enum/game_type.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/enum/language_code.h"
|
||||
@@ -293,6 +292,7 @@ set (LOOT_GUI_HEADERS "${CMAKE_SOURCE_DIR}/src/gui/editor_message.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/query/update_masterlist_query.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/query_handler.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/state/game.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/state/game_detection_error.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/state/game_settings.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/state/loot_paths.h"
|
||||
"${CMAKE_SOURCE_DIR}/src/gui/state/loot_settings.h"
|
||||
|
||||
@@ -55,9 +55,6 @@ Exceptions
|
||||
.. doxygenclass:: loot::GitStateError
|
||||
:members:
|
||||
|
||||
.. doxygenclass:: loot::GameDetectionError
|
||||
:members:
|
||||
|
||||
.. doxygenclass:: loot::ConditionSyntaxError
|
||||
:members:
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "loot/exception/condition_syntax_error.h"
|
||||
#include "loot/exception/cyclic_interaction_error.h"
|
||||
#include "loot/exception/file_access_error.h"
|
||||
#include "loot/exception/game_detection_error.h"
|
||||
#include "loot/exception/git_state_error.h"
|
||||
#include "loot/enum/game_type.h"
|
||||
#include "loot/enum/log_verbosity.h"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "api/api_database.h"
|
||||
#include "api/plugin/plugin_sorter.h"
|
||||
#include "loot/exception/file_access_error.h"
|
||||
#include "loot/exception/game_detection_error.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifndef UNICODE
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
#include <boost/locale.hpp>
|
||||
#include <boost/log/trivial.hpp>
|
||||
|
||||
#include "gui/state/game_detection_error.h"
|
||||
#include "loot/exception/file_access_error.h"
|
||||
#include "loot/exception/game_detection_error.h"
|
||||
#include "loot/windows_encoding_converters.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -498,4 +498,4 @@ std::string Game::RegKeyStringValue(const std::string& keyStr, const std::string
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@
|
||||
<https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOOT_EXCEPTION_GAME_DETECTION_ERROR
|
||||
#define LOOT_EXCEPTION_GAME_DETECTION_ERROR
|
||||
#ifndef LOOT_GUI_GAME_DETECTION_ERROR
|
||||
#define LOOT_GUI_GAME_DETECTION_ERROR
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <boost/log/utility/setup/common_attributes.hpp>
|
||||
#include <boost/log/utility/setup/file.hpp>
|
||||
|
||||
#include "gui/state/game_detection_error.h"
|
||||
#include "gui/state/loot_paths.h"
|
||||
#include "loot/api.h"
|
||||
#include "loot/windows_encoding_converters.h"
|
||||
|
||||
@@ -27,7 +27,6 @@ along with LOOT. If not, see
|
||||
|
||||
#include "api/game/game.h"
|
||||
|
||||
#include "loot/exception/game_detection_error.h"
|
||||
#include "tests/common_game_test_fixture.h"
|
||||
|
||||
namespace loot {
|
||||
|
||||
@@ -27,7 +27,7 @@ along with LOOT. If not, see
|
||||
|
||||
#include "gui/state/game.h"
|
||||
|
||||
#include "loot/exception/game_detection_error.h"
|
||||
#include "gui/state/game_detection_error.h"
|
||||
#include "tests/common_game_test_fixture.h"
|
||||
|
||||
namespace loot {
|
||||
|
||||
Reference in New Issue
Block a user