WiiUPluginLoaderBackend/source/globals.h

23 lines
698 B
C
Raw Normal View History

2020-05-17 20:40:05 +02:00
#pragma once
2022-02-04 16:25:44 +01:00
#include "plugin/PluginContainer.h"
#include "utils/ConfigUtils.h"
#include "version.h"
#include <forward_list>
#include <memory>
#include <mutex>
#include <vector>
#include <wums/defines/relocation_defines.h>
2022-09-19 21:58:23 +02:00
#define VERSION "v0.1.1"
#define VERSION_FULL VERSION VERSION_EXTRA
extern StoredBuffer gStoredTVBuffer;
extern StoredBuffer gStoredDRCBuffer;
2020-05-17 20:40:05 +02:00
#define TRAMP_DATA_SIZE 1024
extern relocation_trampoline_entry_t *gTrampData;
extern std::vector<std::unique_ptr<PluginContainer>> gLoadedPlugins;
extern std::forward_list<std::shared_ptr<PluginData>> gLoadedData;
extern std::forward_list<std::shared_ptr<PluginData>> gLoadOnNextLaunch;
extern std::mutex gLoadedDataMutex;