nod/include/nod/nod.hpp

22 lines
415 B
C++
Raw Normal View History

2018-10-07 03:39:24 +00:00
#pragma once
2015-06-26 19:30:03 +00:00
2015-09-28 01:55:59 +00:00
#include <functional>
#include <memory>
#include <string>
#include "nod/Util.hpp"
2015-06-26 19:30:03 +00:00
2018-12-08 05:21:47 +00:00
namespace nod {
2015-06-26 19:30:03 +00:00
2015-06-28 05:43:53 +00:00
class DiscBase;
2018-12-08 05:21:47 +00:00
struct ExtractionContext final {
bool force : 1;
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
2018-12-08 05:21:47 +00:00
} // namespace nod