mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-25 19:10:09 +08:00
30 lines
522 B
C++
30 lines
522 B
C++
#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
|