ManaPlus
Namespaces | Functions
files.h File Reference

(986a3bf)

#include "utils/stringvector.h"
#include "localconsts.h"

Go to the source code of this file.

Namespaces

 Files
 

Functions

int Files::renameFile (const std::string &pFrom, const std::string &pTo)
 
int Files::copyFile (const std::string &pFrom, const std::string &pTo)
 
bool Files::existsLocal (const std::string &path)
 
bool Files::loadTextFileLocal (const std::string &fileName, StringVect &lines)
 
void Files::saveTextFile (const std::string &path, const std::string &name, const std::string &text)
 
void Files::deleteFilesInDirectory (std::string path)
 
void Files::enumFiles (StringVect &files, std::string path, const bool skipSymlinks)