File indexing completed on 2024-05-12 05:22:14

0001 /*
0002     SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #include "accountstorage_kwallet_p.h"
0008 #include "accountstorage_p.h"
0009 
0010 using namespace KGAPI2;
0011 
0012 AccountStorageFactory *AccountStorageFactory::sFactory = nullptr;
0013 
0014 AccountStorageFactory *AccountStorageFactory::instance()
0015 {
0016     if (!sFactory) {
0017         sFactory = new KWalletStorageFactory();
0018     }
0019     return sFactory;
0020 }
0021 
0022 AccountStorageFactory::AccountStorageFactory()
0023 {
0024 }
0025 
0026 AccountStorageFactory::~AccountStorageFactory()
0027 {
0028 }