From 3f958097632256329cdbaf2219e2ba15325e9c52 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 11 Feb 2009 22:51:25 +0000 Subject: Hey, formatter, awesome, and look at that...I'm adding uuid support. --- src/uuid.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/uuid.h (limited to 'src/uuid.h') diff --git a/src/uuid.h b/src/uuid.h new file mode 100644 index 0000000..2bb1404 --- /dev/null +++ b/src/uuid.h @@ -0,0 +1,25 @@ +#ifndef BU_UUID_H +#define BU_UUID_H + +namespace Bu +{ + class Uuid + { + public: + Uuid(); + virtual ~Uuid(); + + static Uuid genV1(); + static Uuid genV2(); + static Uuid genV3(); + static Uuid genV4(); + static Uuid genV5(); + + void clear(); + + private: + unsigned char data[8]; + }; +}; + +#endif -- cgit v1.2.3