// SPDX-FileCopyrightText: Nheko Contributors // // SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include #if defined(NHEKO_DBUS_SYS) #include #include #include #endif class Dock final : public QObject { Q_OBJECT public: Dock(QObject *parent = nullptr); public slots: void setUnreadCount(const int count); private: #if defined(NHEKO_DBUS_SYS) void unitySetNotificationCount(const int count); QDBusServiceWatcher *unityServiceWatcher = nullptr; bool unityServiceAvailable = false; #endif };