mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00: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:
parent
5a3aee5118
commit
851dbcd7d6
2 changed files with 41 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue