#include <list>
#include <ETL/handle>
#include <sigc++/signal.h>
+#include <sigc++/connection.h>
#include "vector.h"
#include "string.h"
//! Layer Group database
std::map<String,std::set<etl::handle<Layer> > > group_db_;
+ //! Layer Connection database
+ std::map<etl::handle<Layer>,std::vector<sigc::connection> > connections_;
+
/*
-- ** -- S I G N A L S -------------------------------------------------------
*/
private:
void add_group_pair(String group, etl::handle<Layer> layer);
void remove_group_pair(String group, etl::handle<Layer> layer);
+ void add_connection(etl::handle<Layer> layer, sigc::connection connection);
+ void disconnect_connections(etl::handle<Layer> layer);
protected:
virtual void on_changed();