Play-/Source/DiskUtils.h

22 lines
545 B
C
Raw Permalink Normal View History

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