aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-09 02:06:55 (GMT)
committerfluxgen <fluxgen>2004-01-09 02:06:55 (GMT)
commit9f6621a599688ec87d0fe3d758a57d2aea4e730e (patch)
tree8cade79492486b286d0c45927c53574386d3578e /src
parentf5ed316411c9c7d713f8f80be9a21bbc6b692b2c (diff)
downloadfluxbox-9f6621a599688ec87d0fe3d758a57d2aea4e730e.zip
fluxbox-9f6621a599688ec87d0fe3d758a57d2aea4e730e.tar.bz2
init m_update
Diffstat (limited to 'src')
-rw-r--r--src/AtomHandler.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AtomHandler.hh b/src/AtomHandler.hh
index 45b7914..bec1815 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.12 2003/07/28 15:06:33 rathnor Exp $ 22// $Id: AtomHandler.hh,v 1.13 2004/01/09 02:06:55 fluxgen Exp $
23 23
24#ifndef ATOMHANDLER_HH 24#ifndef ATOMHANDLER_HH
25#define ATOMHANDLER_HH 25#define ATOMHANDLER_HH
@@ -32,6 +32,7 @@ class BScreen;
32 32
33class AtomHandler { 33class AtomHandler {
34public: 34public:
35
35 virtual ~AtomHandler() { } 36 virtual ~AtomHandler() { }
36 37
37 virtual void initForScreen(BScreen &screen) = 0; 38 virtual void initForScreen(BScreen &screen) = 0;
@@ -58,6 +59,8 @@ public:
58 /// should this object be updated or not? 59 /// should this object be updated or not?
59 bool update() const { return m_update; } 60 bool update() const { return m_update; }
60protected: 61protected:
62 AtomHandler():m_update(true) { }
63
61 void disableUpdate() { m_update = false; } 64 void disableUpdate() { m_update = false; }
62 void enableUpdate() { m_update = true; } 65 void enableUpdate() { m_update = true; }
63private: 66private: