summaryrefslogtreecommitdiff
path: root/src/icecc.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2020-07-17 12:10:54 +0200
committerJoel Klinghed <the_jk@opera.com>2020-07-17 12:10:54 +0200
commit2df36164c6dfaa4c1dfbd7bb652ff9837c8d912c (patch)
treec5dbbf55619c2dc0dee01672d21cafbf6340369a /src/icecc.hh
parentc8fd8d3c3f12e6895246c5a0566a9f595ce5db20 (diff)
Move IceccMonMon::connect to MonMon
All implementations are going to need a "connect" method
Diffstat (limited to 'src/icecc.hh')
-rw-r--r--src/icecc.hh15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/icecc.hh b/src/icecc.hh
index 2b3cdf0..f061de6 100644
--- a/src/icecc.hh
+++ b/src/icecc.hh
@@ -3,19 +3,10 @@
#include <memory>
-#include "monmon.hh"
+class MonMon;
+class PollLooper;
-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::unique_ptr<MonMon> create_icecc_monmon(
std::shared_ptr<PollLooper> const& looper, unsigned columns);
#endif // ICECC_HH