From 28e67be84c418cb661e7c32f2326d0e665320a1e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 30 Jan 2018 16:39:05 +0100 Subject: One central place to generate uids --- common/utils.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 common/utils.h (limited to 'common/utils.h') diff --git a/common/utils.h b/common/utils.h new file mode 100644 index 0000000..253de61 --- /dev/null +++ b/common/utils.h @@ -0,0 +1,25 @@ +/* + Copyright (c) 2018 Christian Mollekopf + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public + License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. +*/ +#pragma once + +#include + +namespace Sink { + QByteArray createUuid(); +} -- cgit v1.2.3