File indexing completed on 2025-01-19 03:53:47

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2005-05-17
0007  * Description : low level files management interface - Finder classes.
0008  *
0009  * SPDX-FileCopyrightText: 2005      by Renchi Raju <renchi dot raju at gmail dot com>
0010  * SPDX-FileCopyrightText: 2012-2013 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
0011  * SPDX-FileCopyrightText: 2018      by Maik Qualmann <metzpinguin at gmail dot com>
0012  *
0013  * SPDX-License-Identifier: GPL-2.0-or-later
0014  *
0015  * ============================================================ */
0016 
0017 #ifndef DIGIKAM_DIO_FINDERS_H
0018 #define DIGIKAM_DIO_FINDERS_H
0019 
0020 // Qt includes
0021 
0022 #include <QList>
0023 #include <QUrl>
0024 #include <QString>
0025 
0026 // Local includes
0027 
0028 #include "digikam_export.h"
0029 
0030 namespace Digikam
0031 {
0032 
0033 class ItemInfo;
0034 
0035 class DIGIKAM_GUI_EXPORT SidecarFinder
0036 {
0037 
0038 public:
0039 
0040     explicit SidecarFinder(const QList<QUrl>& files);
0041 
0042 public:
0043 
0044     QList<QUrl>    localFiles;
0045     QList<bool>    localFileModes;
0046     QList<QString> localFileSuffixes;
0047 };
0048 
0049 // -----------------------------------------------------------------------------------------
0050 
0051 class DIGIKAM_GUI_EXPORT GroupedImagesFinder
0052 {
0053 
0054 public:
0055 
0056     explicit GroupedImagesFinder(const QList<ItemInfo>& source);
0057 
0058 public:
0059 
0060     QList<ItemInfo> infos;
0061 };
0062 
0063 } // namespace Digikam
0064 
0065 #endif // DIGIKAM_DIO_FINDERS_H