summaryrefslogtreecommitdiff
path: root/src/icecc.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2020-07-17 11:56:29 +0200
committerJoel Klinghed <the_jk@opera.com>2020-07-17 11:56:29 +0200
commitc8fd8d3c3f12e6895246c5a0566a9f595ce5db20 (patch)
tree0df11e1fb6e6ee0b27909e2a24b03593207ec6ba /src/icecc.hh
parenteb5fd01c5aa7759bc626b9604bc786ea6c492a35 (diff)
Move Icecc MonMon out of main
Diffstat (limited to 'src/icecc.hh')
-rw-r--r--src/icecc.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/icecc.hh b/src/icecc.hh
new file mode 100644
index 0000000..2b3cdf0
--- /dev/null
+++ b/src/icecc.hh
@@ -0,0 +1,21 @@
+#ifndef ICECC_HH
+#define ICECC_HH
+
+#include <memory>
+
+#include "monmon.hh"
+
+class Args;
+
+class IceccMonMon : public MonMon {
+public:
+ virtual void connect(Args const* args) = 0;
+
+protected:
+ IceccMonMon(std::shared_ptr<PollLooper> const& looper);
+};
+
+std::unique_ptr<IceccMonMon> create_icecc_monmon(
+ std::shared_ptr<PollLooper> const& looper, unsigned columns);
+
+#endif // ICECC_HH