| 1 | /* |
| 2 | This file is part of the KDE Project |
| 3 | SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg <trueg@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 6 | */ |
| 7 | |
| 8 | #ifndef FILE_EXCLUDE_FILTERS_H_ |
| 9 | #define FILE_EXCLUDE_FILTERS_H_ |
| 10 | |
| 11 | #include <QStringList> |
| 12 | |
| 13 | namespace Baloo |
| 14 | { |
| 15 | /** |
| 16 | * \return A list of default exclude filters to be used |
| 17 | * in the filewatch service to ignore temporary files |
| 18 | * and folders that change a lot and as a basis for the |
| 19 | * user configurable exclude filters in the strigi service. |
| 20 | */ |
| 21 | QStringList defaultExcludeFilterList(); |
| 22 | |
| 23 | /** |
| 24 | * \return The version of the default exclude filter list. |
| 25 | * This is increased whenever the list changes. |
| 26 | */ |
| 27 | int defaultExcludeFilterListVersion(); |
| 28 | |
| 29 | QStringList defaultExcludeMimetypes(); |
| 30 | int defaultExcludeMimetypesVersion(); |
| 31 | |
| 32 | QStringList sourceCodeMimeTypes(); |
| 33 | } |
| 34 | |
| 35 | #endif |
| 36 | |