aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise09/IntPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'week10/Exercise09/IntPacket.h')
-rw-r--r--week10/Exercise09/IntPacket.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/week10/Exercise09/IntPacket.h b/week10/Exercise09/IntPacket.h
new file mode 100644
index 0000000..be88bce
--- /dev/null
+++ b/week10/Exercise09/IntPacket.h
@@ -0,0 +1,10 @@
+#pragma once
+#include "CommunicationPacket.h"
+
+class IntPacket : CommunicationPacket {
+ int data;
+
+public:
+ IntPacket();
+ IntPacket(unsigned startAddress, unsigned endAddress, int data);
+};