File indexing completed on 2024-11-10 04:40:19

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #include "fakesearchmanager.h"
0009 
0010 #include "entities.h"
0011 
0012 using namespace Akonadi::Server;
0013 
0014 FakeSearchManager::FakeSearchManager(SearchTaskManager &agentSearchManager)
0015     : SearchManager(QStringList(), agentSearchManager)
0016 {
0017 }
0018 
0019 FakeSearchManager::~FakeSearchManager()
0020 {
0021 }
0022 
0023 void FakeSearchManager::registerInstance(const QString &id)
0024 {
0025     Q_UNUSED(id)
0026 }
0027 
0028 void FakeSearchManager::unregisterInstance(const QString &id)
0029 {
0030     Q_UNUSED(id)
0031 }
0032 
0033 void FakeSearchManager::updateSearch(const Collection &collection)
0034 {
0035     Q_UNUSED(collection)
0036 }
0037 
0038 void FakeSearchManager::updateSearchAsync(const Collection &collection)
0039 {
0040     Q_UNUSED(collection)
0041 }
0042 
0043 QList<Akonadi::AbstractSearchPlugin *> FakeSearchManager::searchPlugins() const
0044 {
0045     return QList<Akonadi::AbstractSearchPlugin *>();
0046 }
0047 
0048 void FakeSearchManager::scheduleSearchUpdate()
0049 {
0050 }
0051 
0052 #include "moc_fakesearchmanager.cpp"