summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-09-08 11:02:08 (GMT)
committerfluxgen <fluxgen>2002-09-08 11:02:08 (GMT)
commite42d6fc1dc49b077547f549da32bd7f7de06d0b6 (patch)
tree1400890c699933b7dd0f95dbca29417cd643c911 /src
parent29d81960467f75ce906062aa64e2a7df2bf32afb (diff)
downloadfluxbox_lack-e42d6fc1dc49b077547f549da32bd7f7de06d0b6.zip
fluxbox_lack-e42d6fc1dc49b077547f549da32bd7f7de06d0b6.tar.bz2
referenses instead of pointers
Diffstat (limited to 'src')
-rw-r--r--src/AtomHandler.hh14
1 files 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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: AtomHandler.hh,v 1.1 2002/09/07 20:33:33 fluxgen Exp $ 22// $Id: AtomHandler.hh,v 1.2 2002/09/08 11:02:08 fluxgen Exp $
23 23
24#ifndef ATOMHANDLER_HH 24#ifndef ATOMHANDLER_HH
25#define ATOMHANDLER_HH 25#define ATOMHANDLER_HH
@@ -32,14 +32,22 @@ class BScreen;
32class AtomHandler { 32class AtomHandler {
33public: 33public:
34 virtual ~AtomHandler() { } 34 virtual ~AtomHandler() { }
35
35 virtual void initForScreen(const BScreen &screen) = 0; 36 virtual void initForScreen(const BScreen &screen) = 0;
37 virtual void setupWindow(FluxboxWindow &win) = 0;
38
36 virtual void updateClientList(const BScreen &screen) = 0; 39 virtual void updateClientList(const BScreen &screen) = 0;
37 virtual void updateWorkspaceNames(const BScreen &screen) = 0; 40 virtual void updateWorkspaceNames(const BScreen &screen) = 0;
38 virtual void updateCurrentWorkspace(const BScreen &screen) = 0; 41 virtual void updateCurrentWorkspace(const BScreen &screen) = 0;
39 virtual void updateWorkspaceCount(const BScreen &screen) = 0; 42 virtual void updateWorkspaceCount(const BScreen &screen) = 0;
40 virtual void updateState(FluxboxWindow *win) = 0; 43
41 virtual void updateHints(FluxboxWindow *win) = 0; 44 virtual void updateWorkspace(FluxboxWindow &win) = 0;
45 virtual void updateState(FluxboxWindow &win) = 0;
46 virtual void updateHints(FluxboxWindow &win) = 0;
47
42 virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) = 0; 48 virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) = 0;
49
50 /// should this object be updated or not?
43 bool update() const { return m_update; } 51 bool update() const { return m_update; }
44protected: 52protected:
45 void disableUpdate() { m_update = false; } 53 void disableUpdate() { m_update = false; }