Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem/file.h')
-rw-r--r--src/filesystem/file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filesystem/file.h b/src/filesystem/file.h
index aaafd01..ba392de 100644
--- a/src/filesystem/file.h
+++ b/src/filesystem/file.h
@@ -26,9 +26,15 @@ public:
inline std::string name() {
return file_name;
}
+
+ /// current full path
+ inline std::string path() {
+ return real_name;
+ }
private:
std::string file_name;
+ std::string real_name;
}
; // class File