ENH: [STUDIO-2446] support select media files by group of month/year

Change-Id: I10d26e34405a13daa477be011e7353d79232b4b3
This commit is contained in:
chunmao.guo 2023-03-13 12:56:43 +08:00 committed by Lane.Wei
parent 2573d3c112
commit ef1e4a132d
4 changed files with 156 additions and 70 deletions

View file

@ -146,6 +146,8 @@ public:
File const &GetFile(size_t index);
File const &GetFile(size_t index, bool &select);
enum Status {
Initializing,
Connecting,
@ -170,6 +172,8 @@ public:
private:
void BuildGroups();
void UpdateGroupSelect();
void DeleteFilesContinue();
void DownloadNextFile();
@ -266,6 +270,7 @@ protected:
FileList m_file_list2;
std::vector<size_t> m_group_year;
std::vector<size_t> m_group_month;
std::vector<int> m_group_flags;
private:
size_t m_select_count = 0;