File indexing completed on 2024-12-22 05:13:39

0001 /*
0002     SPDX-FileCopyrightText: 2010-2016 Ivan Cukic <ivan.cukic(at)kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef ACTIVITIES_CONSUMER_P_H
0008 #define ACTIVITIES_CONSUMER_P_H
0009 
0010 #include "consumer.h"
0011 
0012 #include <memory>
0013 
0014 #include "activitiescache_p.h"
0015 
0016 namespace KActivities
0017 {
0018 class ConsumerPrivate : public QObject
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     ConsumerPrivate();
0024 
0025     std::shared_ptr<ActivitiesCache> cache;
0026 
0027 public Q_SLOTS:
0028     void setServiceStatus(Consumer::ServiceStatus status);
0029 
0030 Q_SIGNALS:
0031     void serviceStatusChanged(Consumer::ServiceStatus status);
0032 };
0033 
0034 } // namespace KActivities
0035 
0036 #endif // ACTIVITIES_CONSUMER_P_H