1
0
mirror of synced 2025-02-17 18:59:21 +01:00

fix: Compilation on macOS

This commit is contained in:
WerWolv 2023-05-14 21:50:58 +02:00
parent 610f109e2a
commit d96fc6d41b
12 changed files with 14 additions and 4 deletions

View File

@ -10,7 +10,6 @@
#include <map>
#include <hex/helpers/concepts.hpp>
#include <hex/api/task.hpp>
#include <hex/api/keybinding.hpp>
#include <wolv/io/fs.hpp>

View File

@ -2,6 +2,7 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/event.hpp>
#include <hex/api/task.hpp>
#include <hex/providers/provider.hpp>
#include <utility>

View File

@ -13,6 +13,8 @@
#include <hex/api/event.hpp>
#include <string>
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
static std::string nsurl_to_string(NSURL* url) {

View File

@ -1,6 +1,8 @@
#include "init/splash_window.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/api/task.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/utils_macos.hpp>
#include <hex/helpers/fmt.hpp>

View File

@ -7,6 +7,7 @@
#include "init/splash_window.hpp"
#include "init/tasks.hpp"
#include <hex/api/task.hpp>
#include <hex/api/project_file_manager.hpp>
#include <wolv/io/fs.hpp>

View File

@ -61,8 +61,6 @@ namespace hex::plugin::builtin {
wolv::io::File m_file;
size_t m_fileSize = 0;
std::atomic<u32> m_mapCounter = 0;
std::optional<struct stat> m_fileStats;
bool m_readable = false, m_writable = false;

View File

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

View File

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

View File

@ -2,7 +2,7 @@
#include <hex.hpp>
#include <imgui.h>
#include <hex/api/task.hpp>
#include <hex/ui/view.hpp>
#include <ui/widgets.hpp>
@ -10,6 +10,7 @@
#include <vector>
#include <wolv/container/interval_tree.hpp>
#include <imgui.h>
namespace hex::plugin::builtin {

View File

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

View File

@ -10,6 +10,7 @@
#include "content/providers/view_provider.hpp"
#include <hex/api/project_file_manager.hpp>
#include <hex/api/task.hpp>
#include <hex/helpers/fmt.hpp>
#include <nlohmann/json.hpp>

View File

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