make framework more flexible, split cmake files

This commit is contained in:
Eduardo Bart
2011-12-05 04:44:03 -02:00
parent d2d8a0097a
commit ffeb34e0e7
26 changed files with 352 additions and 318 deletions

View File

@@ -31,7 +31,7 @@ public:
void init(const char *argv0);
void terminate();
bool setupWriteDir();
bool setupWriteDir(const std::string& appWriteDirName);
/// Add an package or directory to the search path
bool addToSearchPath(const std::string& path, bool insertInFront = true);
@@ -54,7 +54,7 @@ public:
std::list<std::string> listDirectoryFiles(const std::string& directoryPath = "");
std::string resolvePath(const std::string& path);
std::string getAppUserPath();
std::string getBaseDir();
};
extern ResourceManager g_resources;