2015-07-22 00:30:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <memory>
|
2020-10-04 11:33:59 -04:00
|
|
|
#include <set>
|
2019-10-16 20:51:11 -04:00
|
|
|
#include "filesystem_def.h"
|
2017-05-16 19:54:38 -04:00
|
|
|
#include "OpticalMedia.h"
|
2015-07-22 00:30:06 -04:00
|
|
|
|
|
|
|
namespace DiskUtils
|
|
|
|
{
|
2017-05-16 19:54:38 -04:00
|
|
|
typedef std::unique_ptr<COpticalMedia> OpticalMediaPtr;
|
2015-07-22 00:30:06 -04:00
|
|
|
typedef std::map<std::string, std::string> SystemConfigMap;
|
2020-10-04 11:33:59 -04:00
|
|
|
typedef std::set<std::string> ExtensionList;
|
|
|
|
|
|
|
|
const ExtensionList& GetSupportedExtensions();
|
2015-07-22 00:30:06 -04:00
|
|
|
|
2020-10-01 15:04:15 -04:00
|
|
|
OpticalMediaPtr CreateOpticalMediaFromPath(const fs::path&, uint32 = 0);
|
2018-04-30 21:01:23 +01:00
|
|
|
SystemConfigMap ParseSystemConfigFile(Framework::CStream*);
|
2015-07-22 00:30:06 -04:00
|
|
|
|
2019-10-16 20:51:11 -04:00
|
|
|
bool TryGetDiskId(const fs::path&, std::string*);
|
2015-07-22 00:30:06 -04:00
|
|
|
}
|