X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Feventobject.h;h=cf987e4094fae6ce133c0f7c4f00491eb7e381df;hp=5a3b280feb1c295c2ee8287d1aeeb0c5d6937959;hb=HEAD;hpb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd diff --git a/source/io/eventobject.h b/source/io/eventobject.h index 5a3b280..75cfb73 100644 --- a/source/io/eventobject.h +++ b/source/io/eventobject.h @@ -1,6 +1,7 @@ #ifndef MSP_IO_EVENTOBJECT_H_ #define MSP_IO_EVENTOBJECT_H_ +#include #include "base.h" namespace Msp { @@ -13,7 +14,7 @@ Interface class for objects that can provide event-based I/O. These objects can be fed to the various poll functions in poll.h, or added to an EventDispatcher to generate event signals. */ -class EventObject: public Base +class MSPCORE_API EventObject: public Base { public: /** Emitted when there is data available for reading. If all data is not @@ -29,7 +30,7 @@ private: protected: EventObject(); - virtual ~EventObject(); + ~EventObject() override; void set_events(PollEvent); public: