nod/include/nod/nod.hpp

22 lines
415 B
C++
Raw Normal View History

2018-10-06 20:39:24 -07:00
#pragma once
2015-06-26 12:30:03 -07:00
2015-09-27 18:55:59 -07:00
#include <functional>
#include <memory>
#include <string>
#include "nod/Util.hpp"
2015-06-26 12:30:03 -07:00
2018-12-07 21:21:47 -08:00
namespace nod {
2015-06-26 12:30:03 -07:00
2015-06-27 22:43:53 -07:00
class DiscBase;
2018-12-07 21:21:47 -08:00
struct ExtractionContext final {
bool force : 1;
std::function<void(std::string_view, float)> progressCB;
2015-09-27 18:55:59 -07:00
};
std::unique_ptr<DiscBase> OpenDiscFromImage(std::string_view path);
std::unique_ptr<DiscBase> OpenDiscFromImage(std::string_view path, bool& isWii);
2015-06-26 12:30:03 -07:00
2018-12-07 21:21:47 -08:00
} // namespace nod