Mesen/Utilities/FolderUtilities.h
Souryo 7b0fac672d -Movies now record what game (name & CRC32) they were recorded from and attempt to load the same rom when played
-Movies/NetPlay now use the recent files list to look for roms to load
2015-07-05 22:23:44 -04:00

32 lines
No EOL
864 B
C++

#pragma once
#include "stdafx.h"
class FolderUtilities
{
private:
static wstring _homeFolder;
static vector<wstring> _gameFolders;
public:
static void SetHomeFolder(wstring homeFolder);
static wstring GetHomeFolder();
static void AddKnowGameFolder(wstring gameFolder);
static vector<wstring> GetKnowGameFolders();
static wstring GetSaveFolder();
static wstring GetSaveStateFolder();
static wstring GetMovieFolder();
static wstring GetScreenshotFolder();
static vector<wstring> GetFolders(wstring rootFolder);
static vector<wstring> GetFilesInFolder(wstring rootFolder, wstring mask, bool recursive);
static wstring GetFilename(wstring filepath, bool includeExtension);
static wstring GetFolderName(wstring filepath);
static int64_t GetFileModificationTime(wstring filepath);
static wstring CombinePath(wstring folder, wstring filename);
};