mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
26 lines
591 B
C++
26 lines
591 B
C++
#pragma once
|
|
|
|
#include "main/NekoRay.hpp"
|
|
#include "ProxyEntity.hpp"
|
|
|
|
namespace NekoRay {
|
|
class Group : public JsonStore {
|
|
public:
|
|
int id = -1;
|
|
bool archive = false;
|
|
QString name = "";
|
|
QList<int> order;
|
|
QString url = "";
|
|
QString info = "";
|
|
qint64 last_update = 0;
|
|
|
|
Group();
|
|
|
|
// 按 id 顺序
|
|
[[nodiscard]] QList<QSharedPointer<ProxyEntity>> Profiles() const;
|
|
|
|
// 按 显示 顺序
|
|
[[nodiscard]] QList<QSharedPointer<ProxyEntity>> ProfilesWithOrder() const;
|
|
};
|
|
} // namespace NekoRay
|