| 8 | namespace ecode { |
| 9 | |
| 10 | Plugin::Plugin( PluginManager* manager ) : |
| 11 | mManager( manager ), |
| 12 | mThreadPool( manager->getThreadPool() ), |
| 13 | mReady( false ), // All plugins will start as "not ready" until proven the contrary |
| 14 | mLoading( true ) // All plugins will start as "loading" until the load is complete, this is to |
| 15 | // avoid concurrency issues |
| 16 | {} |
| 17 | |
| 18 | bool Plugin::isReady() const { |
| 19 | return mReady; |
nothing calls this directly
no test coverage detected