mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
feat: preview edit custom
This commit is contained in:
@@ -9,12 +9,16 @@ namespace NekoRay::fmt {
|
||||
QList<QString> command;
|
||||
QString config_suffix;
|
||||
QString config_simple;
|
||||
int mapping_port = 0;
|
||||
int socks_port = 0;
|
||||
|
||||
CustomBean() : AbstractBean(0) {
|
||||
_add(new configItem("core", &core, itemType::string));
|
||||
_add(new configItem("cmd", &command, itemType::stringList));
|
||||
_add(new configItem("cs", &config_simple, itemType::string));
|
||||
_add(new configItem("cs_suffix", &config_suffix, itemType::string));
|
||||
_add(new configItem("mapping_port", &mapping_port, itemType::integer));
|
||||
_add(new configItem("socks_port", &socks_port, itemType::integer));
|
||||
};
|
||||
|
||||
QString DisplayType() override {
|
||||
|
||||
Reference in New Issue
Block a user