kdeconnect-kde/core/notificationserverinfo.h

35 lines
651 B
C
Raw Normal View History

/**
* SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fella@gmx.de>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#include "kdeconnectcore_export.h"
#include <QObject>
class KDECONNECTCORE_EXPORT NotificationServerInfo : public QObject
{
Q_OBJECT
public:
2024-11-05 22:35:14 +00:00
enum Hint {
X_KDE_DISPLAY_APPNAME = 1,
X_KDE_ORIGIN_NAME = 2,
};
Q_DECLARE_FLAGS(Hints, Hint)
static NotificationServerInfo &instance();
void init();
Hints supportedHints();
private:
Hints m_supportedHints;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(NotificationServerInfo::Hints)