diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-21 00:56:50 +0100 |
commit | a99b72e4adbc4c28fadc08d29299d99405f72db9 (patch) | |
tree | fb21f2cea8f5db1dc187cdbdd01f43e73bbddfff /src/server/LV2Block.hpp | |
parent | 329f498d901f9be9c0c820749850f5277a17df5d (diff) | |
download | ingen-a99b72e4adbc4c28fadc08d29299d99405f72db9.tar.gz ingen-a99b72e4adbc4c28fadc08d29299d99405f72db9.tar.bz2 ingen-a99b72e4adbc4c28fadc08d29299d99405f72db9.zip |
Add FilePath class and remove use of glib path utilities
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r-- | src/server/LV2Block.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index eec852a2..f3a59550 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -51,7 +51,7 @@ public: bool instantiate(BufferFactory& bufs, const LilvState* state); LilvInstance* instance() { return instance(0); } - bool save_state(const std::string& dir) const; + bool save_state(const FilePath& dir) const; BlockImpl* duplicate(Engine& engine, const Raul::Symbol& symbol, @@ -80,7 +80,7 @@ public: BufferRef buf, SampleCount offset); - static LilvState* load_state(World* world, const std::string& path); + static LilvState* load_state(World* world, const FilePath& path); protected: struct Instance : public Raul::Noncopyable { |