diff options
author | David Robillard <d@drobilla.net> | 2006-07-04 18:49:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-04 18:49:56 +0000 |
commit | c449044cd4c8178afca187bab823f580d517b813 (patch) | |
tree | 6f1e6c095dc981ff15f2a93d79b53ec985e2bb9a /src/libs/engine/NodeFactory.h | |
parent | fefd94019be32da03fcfd4b683860e3461e19000 (diff) | |
download | ingen-c449044cd4c8178afca187bab823f580d517b813.tar.gz ingen-c449044cd4c8178afca187bab823f580d517b813.tar.bz2 ingen-c449044cd4c8178afca187bab823f580d517b813.zip |
Partial support for loading old patches
git-svn-id: http://svn.drobilla.net/lad/ingen@84 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeFactory.h')
-rw-r--r-- | src/libs/engine/NodeFactory.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/NodeFactory.h b/src/libs/engine/NodeFactory.h index 9f29644d..e183bab5 100644 --- a/src/libs/engine/NodeFactory.h +++ b/src/libs/engine/NodeFactory.h @@ -53,10 +53,10 @@ public: void load_plugins(); Node* load_plugin(const Plugin* info, const string& name, size_t poly, Patch* parent); - const list<Plugin*>& plugins() { return m_plugins; } + const list<Plugin*>& plugins() { return _plugins; } - void lock_plugin_list() { pthread_mutex_lock(&m_plugin_list_mutex); } - void unlock_plugin_list() { pthread_mutex_unlock(&m_plugin_list_mutex); } + void lock_plugin_list() { pthread_mutex_lock(&_plugin_list_mutex); } + void unlock_plugin_list() { pthread_mutex_unlock(&_plugin_list_mutex); } private: #ifdef HAVE_LADSPA @@ -76,14 +76,14 @@ private: Node* load_internal_plugin(const string& plug_label, const string& name, size_t poly, Patch* parent); - list<PluginLibrary*> m_libraries; - list<Plugin*> m_internal_plugins; - list<Plugin*> m_plugins; + list<PluginLibrary*> _libraries; + list<Plugin*> _internal_plugins; + list<Plugin*> _plugins; /** Used to protect the list while load_plugins is building it. */ - pthread_mutex_t m_plugin_list_mutex; + pthread_mutex_t _plugin_list_mutex; - bool m_has_loaded; + bool _has_loaded; }; |