File indexing completed on 2025-01-05 04:46:27

0001 /*
0002     SPDX-FileCopyrightText: 2008 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QDBusServiceWatcher>
0010 #include <QObject>
0011 
0012 class AkonadiStarter : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit AkonadiStarter(QObject *parent = nullptr);
0017     [[nodiscard]] bool start(bool verbose);
0018 
0019 private:
0020     const QDBusServiceWatcher mWatcher;
0021     bool mRegistered = false;
0022 };