! * \brief Framework inner modules will be initialized * when it invoked,same for plugins. * \return */
| 43 | * \return |
| 44 | */ |
| 45 | bool Framework::initialize() |
| 46 | { |
| 47 | if (d->bInitialized) { |
| 48 | qDebug() << "Frame work has been initialized!"; |
| 49 | return true; |
| 50 | } |
| 51 | FrameworkLog::initialize(); |
| 52 | |
| 53 | // It will be true after all inner moudules initialized |
| 54 | // successfully. |
| 55 | d->bInitialized = true; |
| 56 | |
| 57 | return true; |
| 58 | } |
| 59 | |
| 60 | |
| 61 | /*! |
nothing calls this directly
no test coverage detected