]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/logic.cpp
Remove deprecated and unmaintained interfaces
[libs/gltk.git] / source / logic.cpp
diff --git a/source/logic.cpp b/source/logic.cpp
deleted file mode 100644 (file)
index e9542a6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <msp/core/maputils.h>
-#include "logic.h"
-
-using namespace std;
-
-namespace Msp {
-namespace GLtk {
-
-Logic::Loader::Loader(Logic &l, const map<string, Widget *> &w):
-       DataFile::ObjectLoader<Logic>(l),
-       widgets(w)
-{
-       add("bind", &Loader::bind);
-}
-
-void Logic::Loader::bind(const string &wdg, const string &data)
-{
-       WidgetBinding act;
-       act.wdg = get_item(widgets, wdg);
-
-       string::size_type colon = data.find(':');
-       act.type = data.substr(0, colon);
-       if(colon!=string::npos)
-               act.data = data.substr(colon+1);
-       obj.bindings.push_back(act);
-}
-
-} // namespace GLtk
-} // namespace Msp