blob: da05b4c7d2b0d6b4303226129cb5994b9f3243d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef PSHTTPINTERFACE_H
#define PSHTTPINTERFACE_H
#include <QObject>
#include <QString>
class PSConfiguration;
class PSPackages;
class PSHttpInterfacePrivate;
class PSHttpInterface : public QObject
{
Q_OBJECT
public:
PSHttpInterface(PSConfiguration *cfg, QObject *parent = nullptr);
void listen();
QString listenAddress() const;
void setupRouting(PSPackages *packages);
private:
PSHttpInterfacePrivate *d;
};
#endif // PSHTTPINTERFACE_H
|