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 Connect,
25 Disconnect,
26 ChangePushProvider
27 } type = NoCommand;
28 Client client;
29 QDBusMessage reply;
30 QString pushProvider;
31};
32
33}
34
35#endif // KUNIFIEDPUSH_COMMAND_H
Information about a registered client.
Definition client.h:19
Distributor command queue entries.
Definition command.h:17
@ 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:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.