nod/include/NOD/NOD.hpp

31 lines
551 B
C++
Raw Normal View History

2015-06-26 19:30:03 +00:00
#ifndef __NOD_LIB__
#define __NOD_LIB__
#include <memory>
2015-09-28 01:55:59 +00:00
#include <functional>
2015-07-03 22:40:34 +00:00
#include <LogVisor/LogVisor.hpp>
2015-07-02 18:33:55 +00:00
#include "Util.hpp"
2015-06-26 19:30:03 +00:00
namespace NOD
{
2015-06-28 05:43:53 +00:00
class DiscBase;
2015-09-28 01:55:59 +00:00
struct ExtractionContext final
{
bool verbose : 1;
bool force : 1;
std::function<void(const std::string&)> progressCB;
};
2015-07-02 18:33:55 +00:00
std::unique_ptr<DiscBase> OpenDiscFromImage(const SystemChar* path);
std::unique_ptr<DiscBase> OpenDiscFromImage(const SystemChar* path, bool& isWii);
2015-06-26 19:30:03 +00:00
}
2015-06-28 05:43:53 +00:00
#include "DiscGCN.hpp"
#include "DiscWii.hpp"
#include "IDiscIO.hpp"
2015-06-26 19:30:03 +00:00
#endif // __NOD_LIB__