summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-27 01:45:38 +0000
committerDavid Robillard <d@drobilla.net>2008-11-27 01:45:38 +0000
commitca3bd4c24b7db71b774a560dc4089321d74fee4d (patch)
treee333db8312819e9077c8b81ffbbf4a101f2d32b9 /src/gui/ConnectWindow.hpp
parent9b9a6c9e3eb8da7eb1decd963a6c2f0e69b57ed4 (diff)
downloadingen-ca3bd4c24b7db71b774a560dc4089321d74fee4d.tar.gz
ingen-ca3bd4c24b7db71b774a560dc4089321d74fee4d.tar.bz2
ingen-ca3bd4c24b7db71b774a560dc4089321d74fee4d.zip
Fix orphan etc. errors for 'ingen -egl' (fix ticket #201).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1784 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ConnectWindow.hpp')
-rw-r--r--src/gui/ConnectWindow.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/ConnectWindow.hpp b/src/gui/ConnectWindow.hpp
index 06283c70..d78bcd39 100644
--- a/src/gui/ConnectWindow.hpp
+++ b/src/gui/ConnectWindow.hpp
@@ -55,6 +55,8 @@ public:
void start(Ingen::Shared::World* world);
void on_response(int32_t id) { _attached = true; }
+ bool attached() const { return _finished_connecting; }
+
private:
enum Mode { CONNECT_REMOTE, LAUNCH_REMOTE, INTERNAL };
@@ -78,9 +80,9 @@ private:
Mode _mode;
int32_t _ping_id;
bool _attached;
-
- bool _widgets_loaded;
- int _connect_stage;
+ bool _finished_connecting;
+ bool _widgets_loaded;
+ int _connect_stage;
SharedPtr<Glib::Module> _engine_module;
SharedPtr<Glib::Module> _engine_jack_module;