diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-02 13:24:45 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-02 13:24:45 +0200 |
commit | 76e346c8e5ac7067cc49063e0c11d88c23871115 (patch) | |
tree | d0bf22a28330a2feb675b7d68011f22a4473bdfd /src/util.h | |
parent | Split off UrlFilter into library (diff) | |
download | smolbote-76e346c8e5ac7067cc49063e0c11d88c23871115.tar.xz |
Add Util namespace
- Util::files lists files in specified .path
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <QStringList> + +namespace Util { + +QStringList files(const QString &location, const QStringList &nameFilters = QStringList()); + +} + +#endif // SMOLBOTE_UTIL_H |