WiiUPluginLoaderBackend/source/globals.h

39 lines
1.1 KiB
C
Raw Permalink Normal View History

2020-05-17 20:40:05 +02:00
#pragma once
2024-11-27 20:44:36 +01:00
#include "utils/config/ConfigDefines.h"
#include "version.h"
#include <coreinit/dynload.h>
2024-11-27 20:44:36 +01:00
#include <coreinit/thread.h>
#include <map>
#include <memory>
2024-11-27 20:44:36 +01:00
#include <set>
#include <vector>
#include <wums/defines/relocation_defines.h>
2024-11-27 20:44:36 +01:00
#define MODULE_VERSION "v0.3.4"
#define MODULE_VERSION_FULL MODULE_VERSION MODULE_VERSION_EXTRA
class PluginDataSharedPtrComparator;
2024-11-27 20:44:36 +01:00
class PluginData;
class PluginContainer;
extern StoredBuffer gStoredTVBuffer;
extern StoredBuffer gStoredDRCBuffer;
2020-05-17 20:40:05 +02:00
#define TRAMP_DATA_SIZE 1024
extern std::vector<relocation_trampoline_entry_t> gTrampData;
extern std::vector<PluginContainer> gLoadedPlugins;
extern std::set<std::shared_ptr<PluginData>, PluginDataSharedPtrComparator> gLoadedData;
extern std::vector<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
extern std::mutex gLoadedDataMutex;
extern std::map<std::string, OSDynLoad_Module> gUsedRPLs;
2022-10-09 16:36:00 +02:00
extern std::vector<void *> gAllocatedAddresses;
2023-08-16 10:08:44 +02:00
extern bool gNotificationModuleLoaded;
extern OSThread *gOnlyAcceptFromThread;
extern bool gConfigMenuShouldClose;
extern bool gConfigMenuOpened;