summaryrefslogtreecommitdiff
path: root/platformio/common/libs/mqtt/homekit/mqtt/payload.h
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/common/libs/mqtt/homekit/mqtt/payload.h')
-rw-r--r--platformio/common/libs/mqtt/homekit/mqtt/payload.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/platformio/common/libs/mqtt/homekit/mqtt/payload.h b/platformio/common/libs/mqtt/homekit/mqtt/payload.h
new file mode 100644
index 0000000..3e0fe0c
--- /dev/null
+++ b/platformio/common/libs/mqtt/homekit/mqtt/payload.h
@@ -0,0 +1,15 @@
+#ifndef HOMEKIT_MQTT_PAYLOAD_H
+#define HOMEKIT_MQTT_PAYLOAD_H
+
+#include <unistd.h>
+
+namespace homekit::mqtt {
+
+struct MqttPayload {
+ virtual ~MqttPayload() = default;
+ virtual size_t size() const = 0;
+};
+
+}
+
+#endif \ No newline at end of file