KUnifiedPush

command.h
1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#ifndef KUNIFIEDPUSH_COMMAND_H
7#define KUNIFIEDPUSH_COMMAND_H
8
9#include "client.h"
10
11#include <QDBusMessage>
12
13namespace KUnifiedPush {
14
15/** Distributor command queue entries. */
17{
18public:
19 enum Type {
20 NoCommand,
21 Register,
22 Unregister, ///< unregistration requested by client
23 ForceUnregister, ///< unregistration triggered by distributor
24 SilentUnregister, ///< unregistration for moving to a different push provider
25 Connect,
26 Disconnect,
27 ChangePushProvider,
28 MessageAck,
29 ChangeUrgency,
30 Wait,
31 } type = NoCommand;
32 Client client;
33 QDBusMessage reply;
34 QString value;
35};
36
37}
38
39#endif // KUNIFIEDPUSH_COMMAND_H
Information about a registered client.
Definition client.h:20
Distributor command queue entries.
Definition command.h:17
@ SilentUnregister
unregistration for moving to a different push provider
Definition command.h:24
@ Unregister
unregistration requested by client
Definition command.h:22
@ ForceUnregister
unregistration triggered by distributor
Definition command.h:23
Client-side integration with UnifiedPush.
Definition connector.h:14
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 12:05:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.