
- changed the method of passing the isThirdPartyConfig parameter to page logic - removed adding hostname to the server name when importing configs in native format - fixed display of the "$proto settings" button when clicking on the protocol on the "Installed services" page
26 lines
570 B
C++
26 lines
570 B
C++
#ifndef WIREGUARDLOGIC_H
|
|
#define WIREGUARDLOGIC_H
|
|
|
|
#include "PageProtocolLogicBase.h"
|
|
|
|
class UiLogic;
|
|
|
|
class WireGuardLogic : public PageProtocolLogicBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
AUTO_PROPERTY(QString, wireGuardLastConfigText)
|
|
AUTO_PROPERTY(bool, isThirdPartyConfig)
|
|
|
|
public:
|
|
explicit WireGuardLogic(UiLogic *uiLogic, QObject *parent = nullptr);
|
|
~WireGuardLogic() = default;
|
|
|
|
void updateProtocolPage(const QJsonObject &wireGuardConfig, DockerContainer container, bool haveAuthData) override;
|
|
|
|
private:
|
|
UiLogic *m_uiLogic;
|
|
|
|
};
|
|
|
|
#endif // WIREGUARDLOGIC_H
|