2017-10-20 11:26:15 -04:00
|
|
|
#pragma once
|
|
|
|
|
2019-10-16 20:51:11 -04:00
|
|
|
#include "filesystem_def.h"
|
2017-11-24 18:31:04 -05:00
|
|
|
#include <set>
|
2017-10-20 11:26:15 -04:00
|
|
|
|
2019-10-16 20:51:11 -04:00
|
|
|
bool IsBootableExecutablePath(const fs::path&);
|
|
|
|
bool IsBootableDiscImagePath(const fs::path&);
|
2020-12-15 13:33:59 -05:00
|
|
|
bool TryRegisterBootable(const fs::path&);
|
|
|
|
bool TryUpdateLastBootedTime(const fs::path&);
|
2019-10-16 20:51:11 -04:00
|
|
|
void ScanBootables(const fs::path&, bool = true);
|
|
|
|
std::set<fs::path> GetActiveBootableDirectories();
|
2017-10-27 18:06:59 -04:00
|
|
|
void PurgeInexistingFiles();
|
2017-10-20 15:40:49 -04:00
|
|
|
void FetchGameTitles();
|
2019-01-16 20:00:10 +00:00
|
|
|
void FetchGameCovers();
|