mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Changed File from a class into a namespace, since all its methods were static.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@647 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -22,17 +22,18 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
class File
|
||||
namespace File
|
||||
{
|
||||
public:
|
||||
static bool Exists(const char *filename);
|
||||
static void Launch(const char *filename);
|
||||
static void Explore(const char *path);
|
||||
static bool IsDirectory(const char *filename);
|
||||
static bool CreateDir(const char *filename);
|
||||
static bool Delete(const char *filename);
|
||||
static u64 GetSize(const char *filename);
|
||||
static std::string GetUserDirectory();
|
||||
};
|
||||
|
||||
bool Exists(const char *filename);
|
||||
void Launch(const char *filename);
|
||||
void Explore(const char *path);
|
||||
bool IsDirectory(const char *filename);
|
||||
bool CreateDir(const char *filename);
|
||||
bool Delete(const char *filename);
|
||||
u64 GetSize(const char *filename);
|
||||
std::string GetUserDirectory();
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user