#ifndef MYGRATE_EVENTSOURCEBASE_H #define MYGRATE_EVENTSOURCEBASE_H #include "eventHandlerBase.h" #include namespace MyGrate { class EventSourceBase { public: virtual ~EventSourceBase() = default; virtual void readEvents(EventHandlerBase &) = 0; virtual void stopEvents() = 0; }; using EventSourceBasePtr = std::unique_ptr; } #endif