Reduce the use of string objects slightly. Add Delete ISO feature.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-09-22 19:48:12 +00:00
parent a0eb4ad055
commit 38f04809f1
14 changed files with 145 additions and 144 deletions

View File

@ -20,14 +20,18 @@
#include <string>
#include "Common.h"
class File
{
public:
static bool Exists(const std::string &filename);
static void Launch(const std::string &filename);
static void Explore(const std::string &path);
static bool IsDirectory(const std::string &filename);
static bool CreateDir(const std::string &filename);
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();
};