paysages3d/src/system/FileSystem.h

29 lines
509 B
C
Raw Normal View History

2014-08-21 07:58:11 +00:00
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include "system_global.h"
namespace paysages {
namespace system {
class SYSTEMSHARED_EXPORT FileSystem
{
public:
/**
* Get an absolute path to a temporary file.
*
* filename must not contain directory separators.
*/
static std::string getTempFile(const std::string &filename);
/**
* Returns true if the given path points to a file.
*/
static bool isFile(const std::string &filepath);
2014-08-21 07:58:11 +00:00
};
}
}
#endif // FILESYSTEM_H