summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/file_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/file_manager.h')
-rw-r--r--libs/pbd/pbd/file_manager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/pbd/pbd/file_manager.h b/libs/pbd/pbd/file_manager.h
index 2d3650c2c5..5d957eaa5a 100644
--- a/libs/pbd/pbd/file_manager.h
+++ b/libs/pbd/pbd/file_manager.h
@@ -51,7 +51,10 @@ public:
FileDescriptor (std::string const &, bool);
virtual ~FileDescriptor () {}
+ const std::string& path() const { return _path; }
+
void release ();
+ virtual void set_path (const std::string&);
/** Emitted when the file is closed */
PBD::Signal0<void> Closed;
@@ -71,7 +74,7 @@ protected:
int _refcount; ///< number of active users of this file
double _last_used; ///< monotonic time that this file was last allocated
- std::string _name; ///< filename
+ std::string _path; ///< file path
bool _writeable; ///< true if it should be opened writeable, otherwise false
FileManager* manager ();