MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / loadLabels

Method loadLabels

MediaLibrary/labelmodel.cpp:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void LabelModel::loadLabels()
64{
65 if (root) return;
66 std::promise<bool> loadedPromise;
67 loadedFlag = loadedPromise.get_future();
68 root = new TagNode("root", nullptr, 0, TagNode::TAG_ROOT);
69 addAnimeInfoTag();
70 addEpPathTag();
71 addCustomTag();
72 loadedPromise.set_value(true);
73 loaded = true;
74}
75
76void LabelModel::waitLabelLoaded()
77{

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected