diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2020-03-18 22:53:40 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2020-03-23 21:37:30 +0100 |
commit | 627d135bf5108f514161e1d37acf6b97c4b3c4a3 (patch) | |
tree | 601b2560bb484aedbe51f25a6da3beeae62a78fc /include/erebos/uuid.h | |
parent | 29ade9784fe65ecd686b5e8e18d84e6acc30b37a (diff) |
Move UUID and time definitions to separate modules
Diffstat (limited to 'include/erebos/uuid.h')
-rw-r--r-- | include/erebos/uuid.h | 20 |
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; +}; + +} |