File indexing completed on 2025-01-19 03:53:33
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-06-27 0007 * Description : Database engine configuration 0008 * 0009 * SPDX-FileCopyrightText: 2009-2010 by Holger Foerster <hamsi2k at freenet dot de> 0010 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_DB_ENGINE_CONFIG_H 0017 #define DIGIKAM_DB_ENGINE_CONFIG_H 0018 0019 // Local includes 0020 0021 #include "digikam_export.h" 0022 #include "dbengineconfigsettings.h" 0023 0024 namespace Digikam 0025 { 0026 0027 class DIGIKAM_EXPORT DbEngineConfig 0028 { 0029 public: 0030 0031 static bool checkReadyForUse(); 0032 static QString errorMessage(); 0033 static DbEngineConfigSettings element(const QString& databaseType); 0034 }; 0035 0036 } // namespace Digikam 0037 0038 #endif // DIGIKAM_DB_ENGINE_CONFIG_H