KUnifiedPush

command.h
1 /*
2  SPDX-FileCopyrightText: 2022 Volker Krause <[email protected]>
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 
13 namespace KUnifiedPush {
14 
15 /** Distributor command queue entries. */
16 class Command
17 {
18 public:
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
Client-side integration with UnifiedPush.
Definition: connector.h:16
@ ForceUnregister
unregistration triggered by distributor
Definition: command.h:23
@ Unregister
unregistration requested by client
Definition: command.h:22
Distributor command queue entries.
Definition: command.h:16
Information about a registered client.
Definition: client.h:18
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 03:50:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.