aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/utiltypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/utiltypes.h')
-rw-r--r--src/libs/utils/utiltypes.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libs/utils/utiltypes.h b/src/libs/utils/utiltypes.h
new file mode 100644
index 0000000000..967eecb5a5
--- /dev/null
+++ b/src/libs/utils/utiltypes.h
@@ -0,0 +1,14 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+#include <functional>
+
+namespace Utils {
+class FilePath;
+
+enum class IterationPolicy { Stop, Continue };
+
+using FilePathPredicate = std::function<bool(const FilePath &)>;
+} // namespace Utils