summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/unix/file_access_unix.h')
-rw-r--r--drivers/unix/file_access_unix.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/unix/file_access_unix.h b/drivers/unix/file_access_unix.h
index c0286dbff3..7caf8a14d7 100644
--- a/drivers/unix/file_access_unix.h
+++ b/drivers/unix/file_access_unix.h
@@ -51,6 +51,10 @@ class FileAccessUnix : public FileAccess {
void _close();
+#if defined(TOOLS_ENABLED)
+ String get_real_path() const; // Returns the resolved real path for the current open file.
+#endif
+
public:
static CloseNotificationFunc close_notification_func;
@@ -67,20 +71,12 @@ public:
virtual bool eof_reached() const override; ///< reading passed EOF
- virtual uint8_t get_8() const override; ///< get a byte
- virtual uint16_t get_16() const override;
- virtual uint32_t get_32() const override;
- virtual uint64_t get_64() const override;
virtual uint64_t get_buffer(uint8_t *p_dst, uint64_t p_length) const override;
virtual Error get_error() const override; ///< get last error
virtual Error resize(int64_t p_length) override;
virtual void flush() override;
- virtual void store_8(uint8_t p_dest) override; ///< store a byte
- virtual void store_16(uint16_t p_dest) override;
- virtual void store_32(uint32_t p_dest) override;
- virtual void store_64(uint64_t p_dest) override;
virtual void store_buffer(const uint8_t *p_src, uint64_t p_length) override; ///< store an array of bytes
virtual bool file_exists(const String &p_path) override; ///< return true if a file exists