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

0001 /*
0002     SPDX-FileCopyrightText: 2020 Daniel Vrátil <dvratil@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "agentinstance.h"
0010 
0011 namespace Akonadi
0012 {
0013 class AgentBrokenInstance : public AgentInstance
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     explicit AgentBrokenInstance(const QString &type, AgentManager &manager);
0019     ~AgentBrokenInstance() override = default;
0020 
0021     bool start(const AgentType &agentInfo) override;
0022     void quit() override;
0023     void cleanup() override;
0024     void restartWhenIdle() override;
0025     void configure(qlonglong windowId) override;
0026 };
0027 
0028 }