Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::PluginScanner Struct Reference

Scans a directory for PluginDefinition. More...

#include <Plugin.h>

Static Public Member Functions

static Result scanDirectory (const StringView directory, Vector< PluginDefinition > &definitions)
 Scans a directory for PluginDefinition. More...
 

Detailed Description

Scans a directory for PluginDefinition.

Member Function Documentation

◆ scanDirectory()

static Result SC::PluginScanner::scanDirectory ( const StringView  directory,
Vector< PluginDefinition > &  definitions 
)
static

Scans a directory for PluginDefinition.

Parameters
directoryRoot directory holding plugins (will recurse in subdirectories)
definitionsParsed definitions
Returns
Valid result if the given directory is accessible and valid PluginDefinition can be parsed

The documentation for this struct was generated from the following file: