]> git.tdb.fi Git - libs/core.git/blobdiff - source/eventdispatcher.h
Make events work with Console
[libs/core.git] / source / eventdispatcher.h
index 9bea6d2140943f014857a7bd1ee5d629add232e7..6f6fe6f72a9455320e8954655eda10f2a01d1dcd 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the LGPL
 #define EVENTDISPATCHER_H_
 
 #include <sigc++/connection.h>
+#include <sigc++/trackable.h>
 #include "poll.h"
 
 namespace Msp {
@@ -17,7 +18,7 @@ namespace IO {
 Put your I/O objects inside one of these to get signaled when something happens
 on some of them.
 */
-class EventDispatcher
+class EventDispatcher: public sigc::trackable
 {
 public:
        EventDispatcher();