aboutsummaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 8ce7b4f7f..c40abd51f 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -415,6 +415,9 @@ public:
void close(); ///< close a file
bool is_open() const; ///< true when file is open
+ String get_path() const; /// returns the path for the current open file
+ String get_path_absolute() const; /// returns the absolute path for the current open file
+
void seek(int64_t p_position); ///< seek to a given position
void seek_end(int64_t p_position = 0); ///< seek from the end of file
int64_t get_position() const; ///< get position in the file