diff options
Diffstat (limited to 'devtools/create_project/create_project.h')
-rw-r--r-- | devtools/create_project/create_project.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devtools/create_project/create_project.h b/devtools/create_project/create_project.h index 1f3e91f7b4..19c2ba094b 100644 --- a/devtools/create_project/create_project.h +++ b/devtools/create_project/create_project.h @@ -581,7 +581,24 @@ protected: */ std::string createUUID() const; + /** + * Creates a name-based UUID and returns it in string representation. + * + * @param name Unique name to hash. + * @return A new UUID as string. + */ + std::string createUUID(const std::string &name) const; + private: + + /** + * Returns the string representation of an existing UUID. + * + * @param uuid 128-bit array. + * @return Existing UUID as string. + */ + std::string UUIDToString(unsigned char *uuid) const; + /** * This creates the engines/plugins_table.h file required for building * ScummVM. |