summaryrefslogtreecommitdiff
path: root/include/erebos/uuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos/uuid.h')
-rw-r--r--include/erebos/uuid.h20
1 files changed, 20 insertions, 0 deletions
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 <uuid/uuid.h>
+
+#include <string>
+
+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;
+};
+
+}