File indexing completed on 2025-01-05 04:59:39

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Kevin Ottens <ervin@kde.org>
0003  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004  */
0005 
0006 
0007 #ifndef AKONADI_COLLECTIONFETCHJOBINTERFACE_H
0008 #define AKONADI_COLLECTIONFETCHJOBINTERFACE_H
0009 
0010 #include <Akonadi/Collection>
0011 
0012 class KJob;
0013 
0014 namespace Akonadi {
0015 
0016 class CollectionFetchJobInterface
0017 {
0018 public:
0019     CollectionFetchJobInterface();
0020     virtual ~CollectionFetchJobInterface();
0021 
0022     KJob *kjob();
0023 
0024     virtual Collection::List collections() const = 0;
0025     virtual void setResource(const QString &resource) = 0;
0026 };
0027 
0028 }
0029 
0030 #endif // AKONADI_COLLECTIONFETCHJOBINTERFACE_H