1 #ifndef MSP_GLTK_LOGIC_H_
2 #define MSP_GLTK_LOGIC_H_
7 #include <sigc++/slot.h>
8 #include <msp/datafile/objectloader.h>
16 Stores use interface logic. This is represented as widget bindings. Each
17 binding has type and data.
19 See also class Connector.
24 class Loader: public DataFile::ObjectLoader<Logic>
27 const std::map<std::string, Widget *> &widgets;
30 Loader(Logic &, const std::map<std::string, Widget *> &);
32 void bind(const std::string &, const std::string &);
43 std::list<WidgetBinding> bindings;
46 const std::list<WidgetBinding> &get_bindings() const { return bindings; }