* Dynamic Library (DLL/SO/...) loading */
| 441 | * Dynamic Library (DLL/SO/...) loading |
| 442 | */ |
| 443 | class DynamicLibrary { |
| 444 | public: |
| 445 | virtual ~DynamicLibrary() {} |
| 446 | |
| 447 | /// @return Pointer to function "name", or NULL on failure. |
| 448 | virtual Function FindFunction(const char *name) = 0; |
| 449 | |
| 450 | /// @return true if the library was loaded successfully. |
| 451 | virtual bool IsValid() = 0; |
| 452 | |
| 453 | /// @return An instance of a DynamicLibrary subclass with "modulePath" loaded. |
| 454 | static DynamicLibrary *Load(const char *modulePath); |
| 455 | }; |
| 456 | |
| 457 | /** |
| 458 | * Platform class used to retrieve system wide parameters such as double click speed |
nothing calls this directly
no outgoing calls
no test coverage detected