From e42d6fc1dc49b077547f549da32bd7f7de06d0b6 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 8 Sep 2002 11:02:08 +0000 Subject: referenses instead of pointers --- src/AtomHandler.hh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/AtomHandler.hh b/src/AtomHandler.hh index d1c6d8d..df006f3 100644 --- a/src/AtomHandler.hh +++ b/src/AtomHandler.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: AtomHandler.hh,v 1.1 2002/09/07 20:33:33 fluxgen Exp $ +// $Id: AtomHandler.hh,v 1.2 2002/09/08 11:02:08 fluxgen Exp $ #ifndef ATOMHANDLER_HH #define ATOMHANDLER_HH @@ -32,14 +32,22 @@ class BScreen; class AtomHandler { public: virtual ~AtomHandler() { } + virtual void initForScreen(const BScreen &screen) = 0; + virtual void setupWindow(FluxboxWindow &win) = 0; + virtual void updateClientList(const BScreen &screen) = 0; virtual void updateWorkspaceNames(const BScreen &screen) = 0; virtual void updateCurrentWorkspace(const BScreen &screen) = 0; virtual void updateWorkspaceCount(const BScreen &screen) = 0; - virtual void updateState(FluxboxWindow *win) = 0; - virtual void updateHints(FluxboxWindow *win) = 0; + + virtual void updateWorkspace(FluxboxWindow &win) = 0; + virtual void updateState(FluxboxWindow &win) = 0; + virtual void updateHints(FluxboxWindow &win) = 0; + virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) = 0; + + /// should this object be updated or not? bool update() const { return m_update; } protected: void disableUpdate() { m_update = false; } -- cgit v0.11.2