From 2df36164c6dfaa4c1dfbd7bb652ff9837c8d912c Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Fri, 17 Jul 2020 12:10:54 +0200 Subject: Move IceccMonMon::connect to MonMon All implementations are going to need a "connect" method --- src/monmon.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/monmon.hh') diff --git a/src/monmon.hh b/src/monmon.hh index e41be5b..05d58a5 100644 --- a/src/monmon.hh +++ b/src/monmon.hh @@ -11,10 +11,14 @@ #include "poll_looper.hh" #include "x.hh" +class Args; + class MonMon : protected virtual Animator::Observer { public: virtual ~MonMon(); + virtual bool connect(Args const* args) = 0; + void init(x::shared_connection const& conn, xcb_screen_t const* screen, x::Format format, std::shared_ptr const& atoms, std::shared_ptr const& ewmh, -- cgit v1.3