src/uuid.h

Sun, 22 Sep 2019 11:51:41 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 22 Sep 2019 11:51:41 +0300
changeset 3
55a55a9ec2c2
parent 2
2bdc3ac5e77c
permissions
-rw-r--r--

Added lots of code

2
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 #pragma once
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 #include <QString>
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 #include <QTextStream>
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 struct Uuid
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 {
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 quint64 a;
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 quint64 b;
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 };
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
10
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 void incrementUuid(Uuid &uuid);
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
12 void uuidToString(const Uuid &uuid, QTextStream &stream);

mercurial