summaryrefslogtreecommitdiff
path: root/lib/input/replStream.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-22 14:01:04 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-05-22 14:01:04 +0100
commitaf32ac991f1dd3d9138227436b5759889c1aaf77 (patch)
tree5af019a48d06ee943e3debac0eff3c0be073cc8f /lib/input/replStream.h
parentAdd test file for odds and ends (diff)
downloadmygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.tar.bz2
mygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.tar.xz
mygrate-af32ac991f1dd3d9138227436b5759889c1aaf77.zip
Move everything into more sensible places
Diffstat (limited to 'lib/input/replStream.h')
-rw-r--r--lib/input/replStream.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/input/replStream.h b/lib/input/replStream.h
new file mode 100644
index 0000000..983d9d3
--- /dev/null
+++ b/lib/input/replStream.h
@@ -0,0 +1,16 @@
+#ifndef MYGRATE_INPUT_REPLSTREAM_H
+#define MYGRATE_INPUT_REPLSTREAM_H
+
+#include "../eventSourceBase.h"
+#include "mysqlConn.h"
+
+namespace MyGrate::Input {
+ class ReplicationStream : public EventSourceBase, MySQLConn {
+ public:
+ using MySQLConn::MySQLConn;
+
+ void readEvents(EventHandlerBase &) override;
+ };
+}
+
+#endif