WiiUPluginLoaderBackend/source/plugin/PluginDataPersistence.h

16 lines
390 B
C
Raw Normal View History

2020-05-17 20:45:10 +02:00
#pragma once
2022-02-04 16:25:44 +01:00
#include "../common/plugin_defines.h"
2020-05-17 20:45:10 +02:00
#include "PluginData.h"
2022-02-04 16:25:44 +01:00
#include <memory>
2020-05-17 20:45:10 +02:00
class PluginDataPersistence {
public:
2021-12-15 17:09:30 +01:00
static bool save(plugin_data_t *pluginDataStruct, const std::shared_ptr<PluginData> &plugin);
2022-01-27 12:47:33 +01:00
static bool save(plugin_data_t *pluginDataStruct, PluginData *plugin);
2020-05-17 20:45:10 +02:00
2021-12-15 17:09:30 +01:00
static std::shared_ptr<PluginData> load(plugin_data_t *pluginDataStruct);
2020-05-17 20:45:10 +02:00
};