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

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2021-05-30
0007  * Description : Autodetects Mysql server admin program and version
0008  *
0009  * SPDX-FileCopyrightText: 2016-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 "mysqladminbinary.h"
0016 
0017 // KDE includes
0018 
0019 #include <klocalizedstring.h>
0020 
0021 // Local includes
0022 
0023 #include "dbengineparameters.h"
0024 
0025 namespace Digikam
0026 {
0027 
0028 MysqlAdminBinary::MysqlAdminBinary()
0029     : DBinaryIface(DbEngineParameters::defaultMysqlAdminCmd(),
0030                    QLatin1String("MariaDB"),
0031                    QLatin1String("https://mariadb.org/download/"),
0032                    QString(),
0033                    QStringList(QLatin1String("--help")),
0034                    i18n("This binary file is used to manage a dedicated instance of MariaDB server."))
0035 {
0036     setup();
0037 }
0038 
0039 MysqlAdminBinary::~MysqlAdminBinary()
0040 {
0041 }
0042 
0043 } // namespace Digikam
0044 
0045 #include "moc_mysqladminbinary.cpp"