22 #ifndef DIGIKAM_LENS_FUN_IFACE_H
23 #define DIGIKAM_LENS_FUN_IFACE_H
35 # pragma GCC diagnostic push
36 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
37 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
40 #if defined(Q_CC_CLANG)
41 # pragma clang diagnostic push
42 # pragma clang diagnostic ignored "-Wmismatched-tags"
43 # pragma clang diagnostic ignored "-Wdeprecated-declarations"
50 # pragma GCC diagnostic pop
53 #if defined(Q_CC_CLANG)
54 # pragma clang diagnostic pop
76 MetadataUnavailable = -2,
78 MetadataPartialMatch = 0,
79 MetadataExactMatch = 1
92 LensPtr usedLens()
const;
93 void setUsedLens(LensPtr lens);
95 DevicePtr usedCamera()
const;
96 void setUsedCamera(DevicePtr cam);
98 lfDatabase* lensFunDataBase()
const;
99 const lfCamera*
const* lensFunCameras()
const;
101 DevicePtr findCamera(
const QString& make,
const QString& model)
const;
102 LensPtr findLens(
const QString& model)
const;
104 MetadataMatch findFromMetadata(
DMetadata*
const meta);
106 bool supportsDistortion()
const;
107 bool supportsCCA()
const;
108 bool supportsVig()
const;
109 bool supportsGeometry()
const;
114 QString makeDescription()
const;
119 QString modelDescription()
const;
124 QString lensDescription()
const;
126 static QString lensFunVersion();
130 QString metadataMatchDebugStr(MetadataMatch val)
const;
131 LensList findLenses(
const lfCamera*
const camera,
132 const QString& lensDesc,
133 const QString& lensMaker=QString())
const;
135 double checkSimilarity(
const QString& a,
const QString& b)
const;
Definition: lensfunfilter.h:35
Definition: lensfuniface.h:67
const lfCamera * DevicePtr
Definition: lensfuniface.h:70
MetadataMatch
Definition: lensfuniface.h:75
const lfLens * LensPtr
Definition: lensfuniface.h:71
QList< LensPtr > LensList
Definition: lensfuniface.h:72
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43