mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-29 08:04:15 +01:00
16 lines
390 B
C++
16 lines
390 B
C++
#pragma once
|
|
|
|
#include "../common/plugin_defines.h"
|
|
#include "PluginData.h"
|
|
#include <memory>
|
|
|
|
class PluginDataPersistence {
|
|
|
|
public:
|
|
static bool save(plugin_data_t *pluginDataStruct, const std::shared_ptr<PluginData> &plugin);
|
|
|
|
static bool save(plugin_data_t *pluginDataStruct, PluginData *plugin);
|
|
|
|
static std::shared_ptr<PluginData> load(plugin_data_t *pluginDataStruct);
|
|
};
|