1
0
mirror of synced 2024-11-28 01:20:51 +01:00

refactor: Give API files more consistent names

This commit is contained in:
WerWolv 2023-11-18 14:50:43 +01:00
parent 1249eb3261
commit 14f728ab76
55 changed files with 59 additions and 59 deletions

View File

@ -5,17 +5,17 @@ set(CMAKE_CXX_STANDARD 23)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(LIBIMHEX_SOURCES
source/api/event.cpp
source/api/imhex_api.cpp
source/api/content_registry.cpp
source/api/task.cpp
source/api/keybinding.cpp
source/api/event_manager.cpp
source/api/task_manager.cpp
source/api/shortcut_manager.cpp
source/api/plugin_manager.cpp
source/api/localization.cpp
source/api/project_file_manager.cpp
source/api/theme_manager.cpp
source/api/layout_manager.cpp
source/api/achievement_manager.cpp
source/api/localization.cpp
source/data_processor/attribute.cpp
source/data_processor/link.cpp

View File

@ -7,7 +7,7 @@
#include <vector>
#include <span>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>

View File

@ -1,7 +1,7 @@
#pragma once
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <map>
#include <utility>

View File

@ -9,7 +9,7 @@
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>
namespace hex {

View File

@ -10,8 +10,8 @@
#include <fonts/codicons_font.h>
#include <hex/api/imhex_api.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/event.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/providers/provider_data.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -6,7 +6,7 @@
#include <string>
#include <atomic>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>

View File

@ -1,5 +1,5 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/logger.hpp>

View File

@ -1,4 +1,4 @@
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
namespace hex {

View File

@ -1,8 +1,8 @@
#include <hex/api/imhex_api.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/event.hpp>
#include <hex/api/task.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -1,4 +1,4 @@
#include <hex/api/keybinding.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <imgui.h>
#include <hex/api/content_registry.hpp>

View File

@ -1,4 +1,4 @@
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/localization.hpp>
#include <hex/helpers/logger.hpp>

View File

@ -1,6 +1,6 @@
#include <hex/api/theme_manager.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -3,7 +3,7 @@
#include <cstdio>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/crypto.hpp>

View File

@ -1,7 +1,7 @@
#include <hex/providers/provider.hpp>
#include <hex.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <cmath>
#include <cstring>

View File

@ -4,7 +4,7 @@
#include "hex/subcommands/subcommands.hpp"
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/helpers/logger.hpp>

View File

@ -1,5 +1,5 @@
#include <hex/api/project_file_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <init/tasks.hpp>

View File

@ -2,7 +2,7 @@
#include "init/splash_window.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/utils_macos.hpp>

View File

@ -9,7 +9,7 @@
#include "init/splash_window.hpp"
#include "init/tasks.hpp"
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/plugin_manager.hpp>

View File

@ -1,7 +1,7 @@
#include <optional>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/logger.hpp>
#include "messaging.hpp"

View File

@ -4,7 +4,7 @@
#include <hex/api/imhex_api.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/utils_linux.hpp>

View File

@ -4,7 +4,7 @@
#include <hex/api/imhex_api.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils_macos.hpp>
#include <hex/helpers/logger.hpp>

View File

@ -5,7 +5,7 @@
#include <emscripten.h>
#include <emscripten/html5.h>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
// Function used by c++ to get the size of the html canvas
EM_JS(int, canvas_get_width, (), {

View File

@ -6,7 +6,7 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/api/layout_manager.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fs.hpp>

View File

@ -3,7 +3,7 @@
#include <hex/providers/provider.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
namespace hex::plugin::builtin {

View File

@ -3,7 +3,7 @@
#include <hex/ui/view.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <bit>
#include <cstdio>

View File

@ -3,7 +3,7 @@
#include <hex.hpp>
#include <hex/ui/view.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <array>
#include <vector>

View File

@ -1,6 +1,6 @@
#pragma once
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/ui/view.hpp>
#include <ui/widgets.hpp>

View File

@ -2,7 +2,7 @@
#include <hex.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/ui/view.hpp>
#include <hex/helpers/binary_pattern.hpp>
#include <ui/widgets.hpp>

View File

@ -1,7 +1,7 @@
#pragma once
#include <hex/ui/view.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include "content/helpers/diagrams.hpp"
#include <ui/widgets.hpp>

View File

@ -5,7 +5,7 @@
#include <hex/ui/view.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <future>
#include <string>

View File

@ -4,7 +4,7 @@
#include <hex/ui/view.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
namespace hex::plugin::builtin {

View File

@ -1,6 +1,6 @@
#pragma once
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <pl/core/lexer.hpp>

View File

@ -1,6 +1,6 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <wolv/net/socket_server.hpp>

View File

@ -1,7 +1,7 @@
#include "content/command_line_interface.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/fmt.hpp>

View File

@ -1,5 +1,5 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <nlohmann/json.hpp>

View File

@ -3,7 +3,7 @@
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/providers/provider.hpp>

View File

@ -1,4 +1,4 @@
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/project_file_manager.hpp>

View File

@ -4,7 +4,7 @@
#include <implot.h>
#include <hex/ui/view.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/layout_manager.hpp>
#include <hex/api/achievement_manager.hpp>

View File

@ -1,6 +1,6 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/disassembler.hpp>

View File

@ -12,7 +12,7 @@
#include "content/helpers/notification.hpp"
#include <hex/api/project_file_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <nlohmann/json.hpp>

View File

@ -6,7 +6,7 @@
#include <hex/api/localization.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -6,7 +6,7 @@
#include <hex/api/imhex_api.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <wolv/io/file.hpp>

View File

@ -2,10 +2,10 @@
#include <imgui.h>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/providers/provider.hpp>

View File

@ -2,8 +2,8 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/theme_manager.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/event.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -10,7 +10,7 @@
#include <hex/helpers/fs.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <wolv/io/file.hpp>

View File

@ -1,7 +1,7 @@
#include "content/views/view_achievements.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <cmath>

View File

@ -3,7 +3,7 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>

View File

@ -1,7 +1,7 @@
#include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/keybinding.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>

View File

@ -1,6 +1,6 @@
#include <hex.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/localization.hpp>
#include <hex/api/plugin_manager.hpp>

View File

@ -1,6 +1,6 @@
#include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/localization.hpp>
#include <hex/helpers/logger.hpp>

View File

@ -1,7 +1,7 @@
#include <script_api.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/localization.hpp>
#include <hex/ui/popup.hpp>

View File

@ -2,7 +2,7 @@
#include <imgui_internal.h>
#include <hex/api/task.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <wolv/utils/guards.hpp>