mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
upload code
This commit is contained in:
21
ui/GroupSort.hpp
Normal file
21
ui/GroupSort.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
namespace NekoRay {
|
||||
// implement in mainwindow
|
||||
namespace GroupSortMethod {
|
||||
enum GroupSortMethod {
|
||||
Raw,
|
||||
ByType,
|
||||
ByAddress,
|
||||
ByName,
|
||||
ByLatency,
|
||||
ById,
|
||||
};
|
||||
}
|
||||
|
||||
struct GroupSortAction {
|
||||
GroupSortMethod::GroupSortMethod method = GroupSortMethod::Raw;
|
||||
bool save_sort = false; //保存到文件
|
||||
bool descending = false; //默认升序,开这个就是降序
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user