File indexing completed on 2024-04-14 03:49:45
0001 /* 0002 This file is part of the KDE Project 0003 SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg <trueg@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef FILE_EXCLUDE_FILTERS_H_ 0009 #define FILE_EXCLUDE_FILTERS_H_ 0010 0011 #include <QStringList> 0012 0013 namespace Baloo 0014 { 0015 /** 0016 * \return A list of default exclude filters to be used 0017 * in the filewatch service to ignore temporary files 0018 * and folders that change a lot and as a basis for the 0019 * user configurable exclude filters in the strigi service. 0020 */ 0021 QStringList defaultExcludeFilterList(); 0022 0023 /** 0024 * \return The version of the default exclude filter list. 0025 * This is increased whenever the list changes. 0026 */ 0027 int defaultExcludeFilterListVersion(); 0028 0029 QStringList defaultExcludeMimetypes(); 0030 int defaultExcludeMimetypesVersion(); 0031 0032 QStringList sourceCodeMimeTypes(); 0033 } 0034 0035 #endif