summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-01 02:43:56 +0000
committerDavid Robillard <d@drobilla.net>2008-10-01 02:43:56 +0000
commitdf9adc430fe5f3d3d4c9c02a0dad1826da474799 (patch)
tree919e125f948c11d9c7907fcb1428a19b2d495c93 /src/Patchage.hpp
parent0925126286b9e01964e065452f4b16b43923c75c (diff)
downloadpatchage-df9adc430fe5f3d3d4c9c02a0dad1826da474799.tar.gz
patchage-df9adc430fe5f3d3d4c9c02a0dad1826da474799.tar.bz2
patchage-df9adc430fe5f3d3d4c9c02a0dad1826da474799.zip
Integrate patchage into build system.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1569 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r--src/Patchage.hpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index 05cff7b..b35e43f 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -49,9 +49,11 @@ public:
#ifdef HAVE_ALSA
AlsaDriver* alsa_driver() const { return _alsa_driver; }
#endif
-#ifdef HAVE_DBUS
- LashProxy* lash_proxy() const { return _lash_proxy; }
- DBus* dbus() const { return _dbus; }
+#if defined(HAVE_LASH) || defined(HAVE_JACK_DBUS)
+ DBus* dbus() const { return _dbus; }
+#endif
+#ifdef HAVE_LASH
+ LashProxy* lash_proxy() const { return _lash_proxy; }
void show_load_project_dialog();
void set_lash_available(bool available);
@@ -97,9 +99,12 @@ protected:
Glib::RefPtr<Gnome::Glade::Xml> _xml;
-#ifdef HAVE_DBUS
+#if defined(HAVE_LASH) || defined(HAVE_JACK_DBUS)
+ DBus* _dbus;
+#endif
+
+#ifdef HAVE_LASH
LashProxy* _lash_proxy;
- DBus* _dbus;
ProjectList* _project_list;
Session* _session;
#endif