Warning, file /pim/akonadi/autotests/server/inspectablenotificationcollector.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * SPDX-FileCopyrightText: 2018 Daniel Vrátil <dvratil@kde.org>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #pragma once
0009 
0010 #include "storage/notificationcollector.h"
0011 
0012 namespace Akonadi
0013 {
0014 namespace Server
0015 {
0016 class AkonadiServer;
0017 class DataStore;
0018 
0019 class InspectableNotificationCollector : public QObject, public NotificationCollector
0020 {
0021     Q_OBJECT
0022 public:
0023     InspectableNotificationCollector(AkonadiServer &akonadi, DataStore *store);
0024     ~InspectableNotificationCollector() override = default;
0025 
0026     void notify(Protocol::ChangeNotificationList &&ntfs) override;
0027 
0028 Q_SIGNALS:
0029     void notifySignal(const Akonadi::Protocol::ChangeNotificationList &msgs);
0030 };
0031 
0032 } // namespace Server
0033 } // namespace Akonadi