summaryrefslogtreecommitdiff
path: root/lib/eventSourceBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eventSourceBase.h')
-rw-r--r--lib/eventSourceBase.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/eventSourceBase.h b/lib/eventSourceBase.h
new file mode 100644
index 0000000..d511a3f
--- /dev/null
+++ b/lib/eventSourceBase.h
@@ -0,0 +1,13 @@
+#ifndef MYGRATE_EVENTSOURCEBASE_H
+#define MYGRATE_EVENTSOURCEBASE_H
+
+#include "eventHandlerBase.h"
+
+namespace MyGrate {
+ class EventSourceBase {
+ public:
+ virtual void readEvents(EventHandlerBase &) = 0;
+ };
+}
+
+#endif