swift
Loading...
Searching...
No Matches
servicetool.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2013 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
6
7#ifndef SWIFT_SAMPLE_SERVICETOOL_H
8#define SWIFT_SAMPLE_SERVICETOOL_H
9
10#include <QCoreApplication>
11#include <QDBusArgument>
12#include <QString>
13#include <QStringList>
14#include <QtGlobal>
15
16class QDBusConnection;
17class QObject;
18class QProcess;
19
20namespace swift::misc
21{
22 class CDBusServer;
23}
24namespace swift::sample
25{
26 class Testservice; // forward declaration
27
31 class ServiceTool
32 {
33 public:
35 static void dataTransferTestClient(const QString &address);
36
38 static void dataTransferTestServer(swift::misc::CDBusServer *dBusServer, bool verbose);
39
41 static void sendDataToTestservice(const QDBusConnection &connection);
42
43 private:
45 ServiceTool() = delete;
46 };
47} // namespace swift::sample
48
49#endif // SWIFT_SAMPLE_SERVICETOOL_H
Custom DBusServer.
Definition dbusserver.h:34
static void dataTransferTestClient(const QString &address)
Client side of data transfer test.
static void sendDataToTestservice(const QDBusConnection &connection)
Loop to send data to test service (slots on server).
static void dataTransferTestServer(swift::misc::CDBusServer *dBusServer, bool verbose)
Server side of data transfer test.
Free functions in swift::misc.