summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: