MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / Init

Method Init

src/render/rd_context.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 bool RdContext::Init() {
31 auto id_generator_path = QCoreApplication::applicationDirPath() + "/tc_global_id_generator.dll";
32 auto library = new QLibrary(id_generator_path);
33 if (!library->isLoaded()) {
34 library->load();
35 }
36 g_fn_gen_next_global_id = (FnGenNextGlobalId)library->resolve("GenNextGlobalId");
37 return true;
38 }
39
40 std::shared_ptr<MessageNotifier> RdContext::GetMessageNotifier() {
41 return msg_notifier_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected