X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpollable.h;fp=source%2Fcore%2Fpollable.h;h=0000000000000000000000000000000000000000;hb=fe77fc6b869a71bf94d501a0762579f4ddbc5094;hp=f676d55f2224f4bf62c6a85235018a69ed3aa5d2;hpb=7292f4413397b7f2e4689f7597f4b9e73435352e;p=libs%2Fcore.git diff --git a/source/core/pollable.h b/source/core/pollable.h deleted file mode 100644 index f676d55..0000000 --- a/source/core/pollable.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -This file is part of libmspframework -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ -#ifndef MSP_FRAMEWORK_POLLABLE_H_ -#define MSP_FRAMEWORK_POLLABLE_H_ - -#ifdef WIN32 -#include "win32poll.h" -#endif - -#include - -namespace Msp { - -class Pollable -{ -public: - sigc::signal signal_deleted; - - virtual short poll(short, int =0); - virtual ~Pollable() { signal_deleted.emit(); } -protected: - virtual int get_fd()=0; - - friend class Poller; -}; - -} - -#endif