Advance app runtime ownership and modernization docs
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include "node_text_input.h"
|
||||
|
||||
#include <vector>
|
||||
#include <stop_token>
|
||||
#include <thread>
|
||||
|
||||
class NodeDialogCloudItem : public NodeBorder
|
||||
{
|
||||
@@ -46,8 +48,11 @@ public:
|
||||
void init_controls();
|
||||
virtual void loaded() override;
|
||||
virtual void removed(Node* parent) override;
|
||||
void load_thumbs_thread();
|
||||
void load_thumbs_thread(std::stop_token stop);
|
||||
NodeText* create_loading_status_text();
|
||||
bool load_cloud_file_list(CURL* curl, std::string& response, NodeText& status_text);
|
||||
std::vector<NodeDialogCloudItem*> create_cloud_file_items(const std::vector<std::string>& names);
|
||||
|
||||
private:
|
||||
std::jthread load_thumbs_worker_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user