1 #ifndef MSP_GLTK_LOGIC_H_
2 #define MSP_GLTK_LOGIC_H_
7 #include <sigc++/slot.h>
8 #include <msp/core/except.h>
9 #include <msp/datafile/loader.h>
17 Stores use interface logic. This is represented as widget bindings. Each
18 binding has type and data.
20 See also class Connector.
25 class Loader: public DataFile::Loader
29 const std::map<std::string, Widget *> &widgets;
32 Loader(Logic &, const std::map<std::string, Widget *> &);
34 void bind(const std::string &, const std::string &);
45 std::list<WidgetBinding> bindings;
48 const std::list<WidgetBinding> &get_bindings() const { return bindings; }