| 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_; |
nothing calls this directly
no outgoing calls
no test coverage detected