summaryrefslogtreecommitdiffstats
path: root/src/Protocol/DataSender.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-11-08 22:19:20 +0100
committertycho <work.tycho@gmail.com>2015-12-18 19:14:34 +0100
commit2b48f586aac6f15cb4e2c80bcf3a8eaeb8abda75 (patch)
tree72623b02dd7039a1218f082ba096a1b2134a16f2 /src/Protocol/DataSender.h
parentBroken (diff)
downloadcuberite-ProtocolRefactor.tar
cuberite-ProtocolRefactor.tar.gz
cuberite-ProtocolRefactor.tar.bz2
cuberite-ProtocolRefactor.tar.lz
cuberite-ProtocolRefactor.tar.xz
cuberite-ProtocolRefactor.tar.zst
cuberite-ProtocolRefactor.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/DataSender.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Protocol/DataSender.h b/src/Protocol/DataSender.h
new file mode 100644
index 000000000..64d5007ab
--- /dev/null
+++ b/src/Protocol/DataSender.h
@@ -0,0 +1,8 @@
+#pragma once
+
+class cDataSender
+{
+public:
+ virtual ~cDataSender() = default;
+ virtual void SendData(const char * a_DataToSend, size_t a_Size) = 0;
+};