Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
19
include/Spectre/System/File.h
Normal file
19
include/Spectre/System/File.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
#ifndef SPECTRE_SYSTEM_FILE_H
|
||||
#define SPECTRE_SYSTEM_FILE_H
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace File
|
||||
{
|
||||
std::string getBasename(const std::string& path);
|
||||
|
||||
std::string getExtension(const std::string& path);
|
||||
|
||||
std::string getPathname(const std::string& path);
|
||||
|
||||
std::vector<unsigned char> read(const std::string& path);
|
||||
};
|
||||
|
||||
#endif /* SPECTRE_SYSTEM_FILE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue