digiKam
coredbthumbinfoprovider.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2000-06-08
7  * Description : Core database <-> thumbnail database interface
8  *
9  * Copyright (C) 2009 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_CORE_DB_THUMB_INFO_PROVIDER_H
26 #define DIGIKAM_CORE_DB_THUMB_INFO_PROVIDER_H
27 
28 // Local includes
29 
30 #include "digikam_export.h"
31 #include "thumbnailinfo.h"
32 #include "loadsavethread.h"
33 
34 namespace Digikam
35 {
36 
37 class DIGIKAM_DATABASE_EXPORT ThumbsDbInfoProvider : public ThumbnailInfoProvider
38 {
39 public:
40 
41  ThumbnailInfo thumbnailInfo(const ThumbnailIdentifier& identifier) override;
42 };
43 
44 // ----------------------------------------------------------------------------------------------
45 
46 class DIGIKAM_DATABASE_EXPORT DatabaseLoadSaveFileInfoProvider : public LoadSaveFileInfoProvider
47 {
48 public:
49 
50  int orientationHint(const QString& path) override;
51  QSize dimensionsHint(const QString& path) override;
52 };
53 
54 } // namespace Digikam
55 
56 #endif // DIGIKAM_CORE_DB_THUMB_INFO_PROVIDER_H
Definition: coredbthumbinfoprovider.h:47
Definition: loadsavethread.h:75
Definition: thumbnailinfo.h:40
Definition: thumbnailinfo.h:112
Definition: thumbnailinfo.h:58
Definition: coredbthumbinfoprovider.h:38
Definition: datefolderview.cpp:43