diff options
Diffstat (limited to 'src/AtomHandler.hh')
-rw-r--r-- | src/AtomHandler.hh | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/AtomHandler.hh b/src/AtomHandler.hh index ab6b73d..d74b68c 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.4 2002/11/30 20:59:54 fluxgen Exp $ | 22 | // $Id: AtomHandler.hh,v 1.5 2002/12/01 13:41:54 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef ATOMHANDLER_HH | 24 | #ifndef ATOMHANDLER_HH |
25 | #define ATOMHANDLER_HH | 25 | #define ATOMHANDLER_HH |
@@ -31,30 +31,30 @@ class BScreen; | |||
31 | 31 | ||
32 | class AtomHandler { | 32 | class AtomHandler { |
33 | public: | 33 | public: |
34 | virtual ~AtomHandler() { } | 34 | virtual ~AtomHandler() { } |
35 | 35 | ||
36 | virtual void initForScreen(const BScreen &screen) = 0; | 36 | virtual void initForScreen(const BScreen &screen) = 0; |
37 | virtual void setupWindow(FluxboxWindow &win) = 0; | 37 | virtual void setupWindow(FluxboxWindow &win) = 0; |
38 | 38 | ||
39 | virtual void updateClientList(const BScreen &screen) = 0; | 39 | virtual void updateClientList(const BScreen &screen) = 0; |
40 | virtual void updateWorkspaceNames(const BScreen &screen) = 0; | 40 | virtual void updateWorkspaceNames(const BScreen &screen) = 0; |
41 | virtual void updateCurrentWorkspace(const BScreen &screen) = 0; | 41 | virtual void updateCurrentWorkspace(const BScreen &screen) = 0; |
42 | virtual void updateWorkspaceCount(const BScreen &screen) = 0; | 42 | virtual void updateWorkspaceCount(const BScreen &screen) = 0; |
43 | 43 | ||
44 | virtual void updateWorkspace(FluxboxWindow &win) = 0; | 44 | virtual void updateWorkspace(FluxboxWindow &win) = 0; |
45 | virtual void updateState(FluxboxWindow &win) = 0; | 45 | virtual void updateState(FluxboxWindow &win) = 0; |
46 | virtual void updateHints(FluxboxWindow &win) = 0; | 46 | virtual void updateHints(FluxboxWindow &win) = 0; |
47 | 47 | ||
48 | virtual bool checkClientMessage(const XClientMessageEvent &ce, | 48 | virtual bool checkClientMessage(const XClientMessageEvent &ce, |
49 | BScreen * const screen, FluxboxWindow * const win) = 0; | 49 | BScreen * const screen, FluxboxWindow * const win) = 0; |
50 | 50 | ||
51 | /// should this object be updated or not? | 51 | /// should this object be updated or not? |
52 | bool update() const { return m_update; } | 52 | bool update() const { return m_update; } |
53 | protected: | 53 | protected: |
54 | void disableUpdate() { m_update = false; } | 54 | void disableUpdate() { m_update = false; } |
55 | void enableUpdate() { m_update = true; } | 55 | void enableUpdate() { m_update = true; } |
56 | private: | 56 | private: |
57 | bool m_update; ///< do we get update or not | 57 | bool m_update; ///< do we get update or not |
58 | }; | 58 | }; |
59 | 59 | ||
60 | #endif // ATOMHANDLER_HH | 60 | #endif // ATOMHANDLER_HH |