diff options
author | David Robillard <d@drobilla.net> | 2009-05-11 21:51:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-11 21:51:47 +0000 |
commit | faf4db950721d5425bc8078d0fa6606e7064e69a (patch) | |
tree | cdd72f4910b5a59ea6097fadda768f31d7e6cf8c /src/engine/PluginImpl.hpp | |
parent | cb5287d0379287c461a0ac5b950161244a7fa53b (diff) | |
download | ingen-faf4db950721d5425bc8078d0fa6606e7064e69a.tar.gz ingen-faf4db950721d5425bc8078d0fa6606e7064e69a.tar.bz2 ingen-faf4db950721d5425bc8078d0fa6606e7064e69a.zip |
Don't cause slv2 to load plugin data until a plugin is loaded or menu requested (faster startup).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1977 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PluginImpl.hpp')
-rw-r--r-- | src/engine/PluginImpl.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/engine/PluginImpl.hpp b/src/engine/PluginImpl.hpp index 17a3d116..e900d34c 100644 --- a/src/engine/PluginImpl.hpp +++ b/src/engine/PluginImpl.hpp @@ -59,10 +59,8 @@ public: Engine& engine) = 0; virtual const string symbol() const = 0; - virtual const string name() const = 0; - const std::string& library_path() const { return _library_path; } - void library_path(const std::string& s) { _library_path = s;} + virtual const std::string& library_path() const { return _library_path; } void load(); void unload(); @@ -73,9 +71,9 @@ public: void module(Glib::Module* module) { _module = module; } protected: - Plugin::Type _type; - string _library_path; - Glib::Module* _module; + Plugin::Type _type; + mutable string _library_path; + Glib::Module* _module; }; |