mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
29 lines
543 B
C++
29 lines
543 B
C++
#ifndef EDIT_SHADOWSOCKS_H
|
|
#define EDIT_SHADOWSOCKS_H
|
|
|
|
#include <QWidget>
|
|
#include "profile_editor.h"
|
|
|
|
namespace Ui {
|
|
class EditShadowSocks;
|
|
}
|
|
|
|
class EditShadowSocks : public QWidget, public ProfileEditor {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit EditShadowSocks(QWidget *parent = nullptr);
|
|
|
|
~EditShadowSocks() override;
|
|
|
|
void onStart(std::shared_ptr<NekoGui::ProxyEntity> _ent) override;
|
|
|
|
bool onEnd() override;
|
|
|
|
private:
|
|
Ui::EditShadowSocks *ui;
|
|
std::shared_ptr<NekoGui::ProxyEntity> ent;
|
|
};
|
|
|
|
#endif // EDIT_SHADOWSOCKS_H
|