Switchboard SDK
Loading...
Searching...
No Matches
switchboard::ExtensionLoader Class Reference

Loads extension libraries. More...

#include <ExtensionLoader.hpp>

Static Public Member Functions

static bool loadExtensionLibrary (const std::string &libraryPath, const std::map< std::string, std::any > &config)
 Loads an extension library.
 

Detailed Description

Loads extension libraries.

Member Function Documentation

◆ loadExtensionLibrary()

static bool switchboard::ExtensionLoader::loadExtensionLibrary ( const std::string & libraryPath,
const std::map< std::string, std::any > & config )
static

Loads an extension library.

Parameters
libraryPathThe path of the extension library.
configThe configuration of the extension.
Returns
bool True if the extension library was loaded successfully, false otherwise.