/* * SPDX-FileCopyrightText: 2011, 2012 Ivan Cukic * * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once // Qt #include #include #include // Utils #include // Local #include namespace Common { class Database; } // namespace Common class ResourcesDatabaseInitializer { public: // static Database *self(); private: ResourcesDatabaseInitializer(); ~ResourcesDatabaseInitializer(); void initDatabase(bool retryOnFail = true); D_PTR; friend Common::Database::Ptr resourcesDatabase(); }; Common::Database::Ptr resourcesDatabase();