mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-04 15:36:35 +00:00
e7e77ccfa7
Fixed exception throwing to be standard
34 lines
884 B
C++
34 lines
884 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
class FolderUtilities
|
|
{
|
|
private:
|
|
static string _homeFolder;
|
|
static vector<string> _gameFolders;
|
|
|
|
public:
|
|
static void SetHomeFolder(string homeFolder);
|
|
static string GetHomeFolder();
|
|
|
|
static void AddKnowGameFolder(string gameFolder);
|
|
static vector<string> GetKnowGameFolders();
|
|
|
|
static string GetSaveFolder();
|
|
static string GetSaveStateFolder();
|
|
static string GetMovieFolder();
|
|
static string GetScreenshotFolder();
|
|
|
|
static vector<string> GetFolders(string rootFolder);
|
|
static vector<string> GetFilesInFolder(string rootFolder, string mask, bool recursive);
|
|
|
|
static string GetFilename(string filepath, bool includeExtension);
|
|
static string GetFolderName(string filepath);
|
|
|
|
static void CreateFolder(string folder);
|
|
|
|
static int64_t GetFileModificationTime(string filepath);
|
|
|
|
static string CombinePath(string folder, string filename);
|
|
}; |