// 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 #include 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