| 168 | } |
| 169 | |
| 170 | void 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 | |
| 196 | int main() |
| 197 | { |