Code

RegisteredEnum is now subclassed from RegisteredWidget<enum> instead of old RegisteredWdg
[inkscape.git] / src / ui / widget / registry.cpp
1 /** \file
2  *
3  *
4  * Authors:
5  *   Ralf Stephan <ralf@ark.in-berlin.de> 
6  *
7  * Copyright (C) 2005 Authors
8  *
9  * Released under GNU GPL.  Read the file 'COPYING' for more information
10  */
12 #ifdef HAVE_CONFIG_H
13 # include <config.h>
14 #endif
16 #include "registry.h"
18 namespace Inkscape {
19 namespace UI {
20 namespace Widget {
22 //===================================================
24 //---------------------------------------------------
26 Registry::Registry() : _updating(false) {}
28 Registry::~Registry() {}
30 bool
31 Registry::isUpdating()
32 {
33     return _updating;
34 }
36 void
37 Registry::setUpdating (bool upd)
38 {
39     _updating = upd;
40 }
42 //====================================================
45 } // namespace Dialog
46 } // namespace UI
47 } // namespace Inkscape
49 /*
50   Local Variables:
51   mode:c++
52   c-file-style:"stroustrup"
53   c-file-offsets:((innamespace . 0)(inline-open . 0))
54   indent-tabs-mode:nil
55   fill-column:99
56   End:
57 */
58 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :