]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/logic.h
Implement mouse wheel scrolling in List
[libs/gltk.git] / source / logic.h
index e6c5243b809acbb2b2cd24220bd879a55a20c2a7..1d25c6ea44227bdd9c093b299c547e80d4e3ebf2 100644 (file)
@@ -5,8 +5,7 @@
 #include <map>
 #include <string>
 #include <sigc++/slot.h>
-#include <msp/core/except.h>
-#include <msp/datafile/loader.h>
+#include <msp/datafile/objectloader.h>
 
 namespace Msp {
 namespace GLtk {
@@ -22,10 +21,9 @@ See also class Connector.
 class Logic
 {
 public:
-       class Loader: public DataFile::Loader
+       class Loader: public DataFile::ObjectLoader<Logic>
        {
        private:
-               Logic &logic;
                const std::map<std::string, Widget *> &widgets;
 
        public: