File indexing completed on 2025-04-27 03:58:33

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2021-04-18
0007  * Description : auto-detect ExifTool program and version.
0008  *
0009  * SPDX-FileCopyrightText: 2021-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #include "exiftoolbinary.h"
0016 
0017 // KDE includes
0018 
0019 #include <klocalizedstring.h>
0020 
0021 namespace Digikam
0022 {
0023 
0024 ExifToolBinary::ExifToolBinary(QObject* const)
0025     : DBinaryIface(QLatin1String("exiftool"),
0026                    QLatin1String("10.00"),          // First release for production uses.
0027                    QLatin1String(),
0028                    0,
0029                    QLatin1String("ExifTool"),
0030                    QLatin1String("https://exiftool.org/"),
0031                    QString(),
0032                    QStringList(QLatin1String("-ver")),
0033                    i18n("ExifTool is a platform-independent command-line application for reading, "
0034                         "writing and editing meta information in a wide variety of files.")
0035                   )
0036 {
0037     setup();
0038 }
0039 
0040 ExifToolBinary::~ExifToolBinary()
0041 {
0042 }
0043 
0044 } // namespace Digikam
0045 
0046 #include "moc_exiftoolbinary.cpp"