summaryrefslogtreecommitdiffstats
path: root/src/TextViewLog.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-14 13:13:56 +0100
committerDavid Robillard <d@drobilla.net>2020-12-14 13:13:56 +0100
commitc7cc84afee9b6d8b196679bf784751c4052020a3 (patch)
treeb78ad7c13975f977d683698694d661972160e038 /src/TextViewLog.hpp
parent6417299c90009f1eca68d58d62f8e46043aabce3 (diff)
downloadpatchage-c7cc84afee9b6d8b196679bf784751c4052020a3.tar.gz
patchage-c7cc84afee9b6d8b196679bf784751c4052020a3.tar.bz2
patchage-c7cc84afee9b6d8b196679bf784751c4052020a3.zip
Clean up includes
Diffstat (limited to 'src/TextViewLog.hpp')
-rw-r--r--src/TextViewLog.hpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/TextViewLog.hpp b/src/TextViewLog.hpp
index 913b527..52c1b2c 100644
--- a/src/TextViewLog.hpp
+++ b/src/TextViewLog.hpp
@@ -17,15 +17,24 @@
#ifndef PATCHAGE_TEXTVIEWLOG_HPP
#define PATCHAGE_TEXTVIEWLOG_HPP
+// IWYU pragma: no_include <gtkmm/texttag.h>
+
#include "ILog.hpp"
-#include "Widget.hpp"
#include <glibmm/refptr.h>
-#include <gtkmm/texttag.h>
-#include <gtkmm/textview.h>
+
+#include <string>
+
+namespace Gtk {
+class TextView;
+class TextTag; // IWYU pragma: keep
+} // namespace Gtk
namespace patchage {
+template<typename W>
+class Widget;
+
/// Log that writes colored messages to a Gtk TextView
class TextViewLog : public ILog
{