ImHex/plugins/libimhex/include/plugin.hpp

19 lines
882 B
C++

#pragma once
#include <glad/glad.h>
#include <imgui.h>
#include <hex.hpp>
#include <views/view.hpp>
#include <providers/provider.hpp>
#include <helpers/shared_data.hpp>
#include <helpers/content_registry.hpp>
#define IMHEX_PLUGIN_SETUP namespace hex::plugin { void setup(); } \
namespace hex::plugin::internal { \
void initializePlugin() { \
hex::plugin::setup(); \
} \
} \
void hex::plugin::setup()