diff options
| author | Joel Klinghed <the_jk@opera.com> | 2020-07-17 12:10:54 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2020-07-17 12:10:54 +0200 |
| commit | 2df36164c6dfaa4c1dfbd7bb652ff9837c8d912c (patch) | |
| tree | c5dbbf55619c2dc0dee01672d21cafbf6340369a /src/monmon.hh | |
| parent | c8fd8d3c3f12e6895246c5a0566a9f595ce5db20 (diff) | |
Move IceccMonMon::connect to MonMon
All implementations are going to need a "connect" method
Diffstat (limited to 'src/monmon.hh')
| -rw-r--r-- | src/monmon.hh | 4 |
1 files changed, 4 insertions, 0 deletions
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<x::Atoms> const& atoms, std::shared_ptr<x::Ewmh> const& ewmh, |
