2 This file is part of libmspframework
3 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
4 Distributed under the LGPL
6 #ifndef MSP_FRAMEWORK_POLLABLE_H_
7 #define MSP_FRAMEWORK_POLLABLE_H_
10 #include "win32poll.h"
13 #include <sigc++/sigc++.h>
20 sigc::signal<void> signal_deleted;
22 virtual short poll(short, int =0);
23 virtual ~Pollable() { signal_deleted.emit(); }
25 virtual int get_fd()=0;