nod/include/nod/nod.hpp

30 lines
532 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>
2016-03-04 23:04:30 +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
2016-03-04 23:04:30 +00:00
namespace nod
2015-06-26 19:30:03 +00:00
{
2015-06-28 05:43:53 +00:00
class DiscBase;
2015-09-28 01:55:59 +00:00
struct ExtractionContext final
{
bool force : 1;
2017-11-13 06:18:53 +00:00
std::function<void(std::string_view, float)> progressCB;
2015-09-28 01:55:59 +00:00
};
2017-11-13 06:18:53 +00:00
std::unique_ptr<DiscBase> OpenDiscFromImage(SystemStringView path);
std::unique_ptr<DiscBase> OpenDiscFromImage(SystemStringView 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__