| 2175 | } |
| 2176 | |
| 2177 | void CPluginManager::OnLibraryAction(const char *lib, LibraryAction action) |
| 2178 | { |
| 2179 | switch (action) |
| 2180 | { |
| 2181 | case LibraryAction_Removed: |
| 2182 | m_pOnLibraryRemoved->PushString(lib); |
| 2183 | m_pOnLibraryRemoved->Execute(NULL); |
| 2184 | break; |
| 2185 | case LibraryAction_Added: |
| 2186 | m_pOnLibraryAdded->PushString(lib); |
| 2187 | m_pOnLibraryAdded->Execute(NULL); |
| 2188 | break; |
| 2189 | } |
| 2190 | } |
| 2191 | |
| 2192 | bool CPluginManager::LibraryExists(const char *lib) |
| 2193 | { |
no test coverage detected