From 627d135bf5108f514161e1d37acf6b97c4b3c4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 18 Mar 2020 22:53:40 +0100 Subject: Move UUID and time definitions to separate modules --- include/erebos/uuid.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/erebos/uuid.h (limited to 'include/erebos/uuid.h') diff --git a/include/erebos/uuid.h b/include/erebos/uuid.h new file mode 100644 index 0000000..31322ea --- /dev/null +++ b/include/erebos/uuid.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +#include + +namespace erebos { + +struct UUID +{ + explicit UUID(std::string); + explicit operator std::string() const; + + bool operator==(const UUID &) const; + bool operator!=(const UUID &) const; + + uuid_t uuid; +}; + +} -- cgit v1.2.3