#pragma once #include "main/NekoGui.hpp" #include "ProxyEntity.hpp" namespace NekoGui { class Group : public JsonStore { public: int id = -1; bool archive = false; bool skip_auto_update = false; QString name = ""; QString url = ""; QString info = ""; qint64 sub_last_update = 0; int front_proxy_id = -1; // list ui bool manually_column_width = false; QList column_width; QList order; Group(); // 按 id 顺序 [[nodiscard]] QList> Profiles() const; // 按 显示 顺序 [[nodiscard]] QList> ProfilesWithOrder() const; }; } // namespace NekoGui