mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
33 lines
618 B
C++
33 lines
618 B
C++
#ifndef EDIT_HYSTERIA_H
|
|
#define EDIT_HYSTERIA_H
|
|
|
|
#include <QWidget>
|
|
#include "profile_editor.h"
|
|
#include "ui_edit_hysteria.h"
|
|
|
|
namespace Ui {
|
|
class EditHysteria;
|
|
}
|
|
|
|
class EditHysteria : public QWidget, public ProfileEditor {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit EditHysteria(QWidget *parent = nullptr);
|
|
|
|
~EditHysteria() override;
|
|
|
|
void onStart(std::shared_ptr<Configs::ProxyEntity> _ent) override;
|
|
|
|
bool onEnd() override;
|
|
|
|
QComboBox *_protocol_version;
|
|
|
|
void editHysteriaLayout(const QString& version);
|
|
private:
|
|
Ui::EditHysteria *ui;
|
|
std::shared_ptr<Configs::ProxyEntity> ent;
|
|
};
|
|
|
|
#endif
|