mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Initial work on patch list
This commit is contained in:
12
arm7/source/loader/PatchListFactory.h
Normal file
12
arm7/source/loader/PatchListFactory.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include "PatchList.h"
|
||||
|
||||
/// @brief Factory for creating \see ApList instances.
|
||||
class PatchListFactory
|
||||
{
|
||||
public:
|
||||
/// @brief Creates an \see PatchList instance from the file at the given \p path.
|
||||
/// @param path The patch list file path.
|
||||
/// @return A pointer to the constructed \see PatchList instance, or \c nullptr if construction failed.
|
||||
std::unique_ptr<PatchList> CreateFromFile(const TCHAR* path);
|
||||
};
|
||||
Reference in New Issue
Block a user