MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / pluginLoadCB

Function pluginLoadCB

NetStream/source/main.cpp:170–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void pluginLoadCB(Plugin *plugin)
171{
172 if (plugin == NULL)
173 {
174 SCE_DBG_LOG_ERROR("[NS_PLUGIN_BASE] Plugin load FAIL!\n");
175 return;
176 }
177
178 g_appPlugin = plugin;
179
180 Framework *fw = Framework::Instance();
181
182 dialog::OpenPleaseWait(g_appPlugin, NULL, fw->GetCommonString("msg_connecting_wait"), true);
183
184 menu::main::NetcheckJob *ncJob = new menu::main::NetcheckJob(menu::main::NetcheckJob::Type_Initial);
185 common::SharedPtr<job::JobItem> itemParam(ncJob);
186 job::JobQueue::DefaultQueue()->Enqueue(itemParam);
187
188 menu::InitMenuSystem();
189
190 g_texCheckMark = fw->GetCommonTexture("_common_texture_check_mark");
191 g_texTransparent = fw->GetCommonTexture("_common_texture_transparent");
192
193 new menu::First();
194}
195
196int main()
197{

Callers

nothing calls this directly

Calls 1

EnqueueMethod · 0.80

Tested by

no test coverage detected