| 272 | /// @return true if the plugin is loaded and the requested interface is implemented by the plugin itself |
| 273 | template <typename T> |
| 274 | [[nodiscard]] bool queryInterface(T*& outInterface) const |
| 275 | { |
| 276 | if (pluginQueryInterface and instance != nullptr) |
| 277 | { |
| 278 | return pluginQueryInterface(instance, T::InterfaceHash, reinterpret_cast<void**>(&outInterface)); |
| 279 | } |
| 280 | return false; |
| 281 | } |
| 282 | |
| 283 | PluginDynamicLibrary(); |
| 284 |
no outgoing calls