summaryrefslogtreecommitdiffstats
path: root/ganv/wrap.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-15 18:18:10 +0100
committerDavid Robillard <d@drobilla.net>2020-12-15 19:32:03 +0100
commite9fccb983f4eb0fde2ffc7f25302da08eb5e8853 (patch)
treed619f1c93f7057ec286a84f3bdbf4a6d72115d2f /ganv/wrap.hpp
parenteba98a8e4a228e28f693fb5048c109ee423e3e46 (diff)
downloadganv-e9fccb983f4eb0fde2ffc7f25302da08eb5e8853.tar.gz
ganv-e9fccb983f4eb0fde2ffc7f25302da08eb5e8853.tar.bz2
ganv-e9fccb983f4eb0fde2ffc7f25302da08eb5e8853.zip
Suppress include warnings in headers when used in other projects
Diffstat (limited to 'ganv/wrap.hpp')
-rw-r--r--ganv/wrap.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ganv/wrap.hpp b/ganv/wrap.hpp
index a71be41..0d99308 100644
--- a/ganv/wrap.hpp
+++ b/ganv/wrap.hpp
@@ -13,9 +13,19 @@
* with Ganv. If not, see <http://www.gnu.org/licenses/>.
*/
+// IWYU pragma: no_include "gettext.h"
+
#ifndef GANV_WRAP_HPP
#define GANV_WRAP_HPP
+#include "ganv/item.h"
+
+#include <glib-object.h> // IWYU pragma: keep
+#include <glib.h> // IWYU pragma: keep
+#include <gobject/gclosure.h> // IWYU pragma: keep
+#include <sigc++/functors/mem_fun.h> // IWYU pragma: keep
+#include <sigc++/signal.h> // IWYU pragma: keep
+
#define CONNECT_PROP_SIGNAL(gobj, name, notify, handler) \
g_signal_connect(gobj, "notify::" #name, \
G_CALLBACK(notify), &_signal_##name); \