File indexing completed on 2024-12-15 04:51:46

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "noteshared_export.h"
0009 #include <QObject>
0010 
0011 #include <memory>
0012 
0013 namespace Akonadi
0014 {
0015 class ChangeRecorder;
0016 }
0017 namespace NoteShared
0018 {
0019 class NotesChangeRecorderPrivate;
0020 class NOTESHARED_EXPORT NotesChangeRecorder : public QObject
0021 {
0022     Q_OBJECT
0023 public:
0024     explicit NotesChangeRecorder(QObject *parent = nullptr);
0025     ~NotesChangeRecorder() override;
0026 
0027     Akonadi::ChangeRecorder *changeRecorder() const;
0028 
0029 private:
0030     Akonadi::ChangeRecorder *const mChangeRecorder;
0031 };
0032 }