summaryrefslogtreecommitdiff
path: root/src/components/voiceinfobox.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-03-14 14:18:54 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-03-14 14:18:54 -0400
commite51d5d1980b1ab0c1738836762900f7bd9bc3c3f (patch)
treebcf287803795aea72c06b18c1a329fb41621e280 /src/components/voiceinfobox.hpp
parentc075f16c17d8048446a994a41b0ebf46a0c00bdd (diff)
downloadabaddon-portaudio-e51d5d1980b1ab0c1738836762900f7bd9bc3c3f.tar.gz
abaddon-portaudio-e51d5d1980b1ab0c1738836762900f7bd9bc3c3f.zip
more WITH_VOICE guards
Diffstat (limited to 'src/components/voiceinfobox.hpp')
-rw-r--r--src/components/voiceinfobox.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/components/voiceinfobox.hpp b/src/components/voiceinfobox.hpp
index 0117c0d..74aad27 100644
--- a/src/components/voiceinfobox.hpp
+++ b/src/components/voiceinfobox.hpp
@@ -1,9 +1,11 @@
#pragma once
-#include <gtkmm/box.h>
-#include <gtkmm/eventbox.h>
-#include <gtkmm/image.h>
-#include <gtkmm/label.h>
+#ifdef WITH_VOICE
+
+ #include <gtkmm/box.h>
+ #include <gtkmm/eventbox.h>
+ #include <gtkmm/image.h>
+ #include <gtkmm/label.h>
class VoiceInfoBox : public Gtk::Box {
public:
@@ -18,3 +20,5 @@ private:
Gtk::EventBox m_disconnect_ev;
Gtk::Image m_disconnect_img;
};
+
+#endif