-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_GLTK_LOGIC_H_
#define MSP_GLTK_LOGIC_H_
#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 {
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: