From 76e346c8e5ac7067cc49063e0c11d88c23871115 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 2 Oct 2018 13:24:45 +0200 Subject: Add Util namespace - Util::files lists files in specified .path --- src/util.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..4ea6639 --- /dev/null +++ b/src/util.h @@ -0,0 +1,20 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SMOLBOTE_UTIL_H +#define SMOLBOTE_UTIL_H + +#include + +namespace Util { + +QStringList files(const QString &location, const QStringList &nameFilters = QStringList()); + +} + +#endif // SMOLBOTE_UTIL_H -- cgit v1.2.1