mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-20 01:51:58 -05:00
Use std::shared_ptr
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
|
||||
class PluginDataFactory {
|
||||
public:
|
||||
static std::vector<PluginData> loadDir(const std::string &path, MEMHeapHandle heapHandle);
|
||||
static std::vector<std::shared_ptr<PluginData>> loadDir(const std::string &path, MEMHeapHandle heapHandle);
|
||||
|
||||
static std::optional<PluginData> load(const std::string &path, MEMHeapHandle heapHandle);
|
||||
static std::optional<std::shared_ptr<PluginData>> load(const std::string &path, MEMHeapHandle heapHandle);
|
||||
|
||||
static std::optional<PluginData> load(std::vector<uint8_t> &buffer, MEMHeapHandle heapHandle);
|
||||
static std::optional<std::shared_ptr<PluginData>> load(std::vector<uint8_t> &buffer, MEMHeapHandle heapHandle);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user