File indexing completed on 2025-03-09 04:54:13

0001 /* SPDX-FileCopyrightText: 2010 Thomas McGuire <mcguire@kde.org>
0002 
0003    SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0004 */
0005 
0006 #include "messagecoresettings.h"
0007 
0008 using namespace MessageCore;
0009 
0010 MessageCoreSettings *MessageCoreSettings::mSelf = nullptr;
0011 
0012 MessageCoreSettings *MessageCoreSettings::self()
0013 {
0014     if (!mSelf) {
0015         mSelf = new MessageCoreSettings();
0016         mSelf->load();
0017     }
0018 
0019     return mSelf;
0020 }
0021 
0022 MessageCoreSettings::MessageCoreSettings() = default;
0023 
0024 MessageCoreSettings::~MessageCoreSettings() = default;
0025 
0026 #include "moc_messagecoresettings.cpp"