Scans a directory for PluginDefinition. More...
#include <Plugin.h>
Static Public Member Functions | |
| template<typename T > | |
| static Result | scanDirectory (const StringView directory, Span< PluginDefinition > definitionsStorage, T &tempFileBuffer, Span< PluginDefinition > &foundDefinitions) |
| Scans a directory for PluginDefinition. | |
Scans a directory for PluginDefinition.
|
inlinestatic |
Scans a directory for PluginDefinition.
| directory | Root directory holding plugins (will recurse in subdirectories) |
| definitionsStorage | Storage to where to save PluginDefinition |
| tempFileBuffer | Storage to save contents when reading source files |
| foundDefinitions | Parsed definitions (it's a slice of definitionsStorage) |