#ifndef EDIT_SOCKS_H
#define EDIT_SOCKS_H

#include <QWidget>
#include "profile_editor.h"
#include "ui_edit_socks.h"

namespace Ui {
    class EditSocks;
}

class EditSocks : public QWidget, public ProfileEditor {
    Q_OBJECT

public:
    explicit EditSocks(QWidget *parent = nullptr);

    ~EditSocks() override;

    void onStart(std::shared_ptr<Configs::ProxyEntity> _ent) override;

    bool onEnd() override;

private:
    Ui::EditSocks *ui;
    std::shared_ptr<Configs::ProxyEntity> ent;
};

#endif // EDIT_SOCKS_H
