Refactor GameDetectionError into GUI code

This commit is contained in:
Oliver Hamlet
2017-02-06 18:03:17 +00:00
parent 5e69108fc6
commit 49315aea94
9 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -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"
-3
View File
@@ -55,9 +55,6 @@ Exceptions
.. doxygenclass:: loot::GitStateError
:members:
.. doxygenclass:: loot::GameDetectionError
:members:
.. doxygenclass:: loot::ConditionSyntaxError
:members:
-1
View File
@@ -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"
-1
View File
@@ -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
+2 -2
View File
@@ -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
}
}
}
@@ -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>
+1
View File
@@ -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"
-1
View File
@@ -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 {
+1 -1
View File
@@ -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 {