Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00461.10.28.26.0311.blamite
The tag editor for the Blamite Game Engine.
plugins.cpp File Reference
#include "tags.h"
#include <Strings/components/utils/string/string.h>
#include <Strings/components/utils/io/io.h>
#include <HEKGuerilla/components/settings/config/config.h>
#include <HEKGuerilla/components/projects/projects.h>
#include <Strings/components/logger/logger.h>
+ Include dependency graph for plugins.cpp:

Functions

void LoadPluginsInFolder (std::string plugin_dir, bool built_in)
 Loads all plugins within a given directory. More...
 
BlamResult LoadPluginsFromDirectory (std::vector< std::string > search_folders, bool built_in)
 Loads all available plugins within the application plugin directory. More...
 

Variables

std::vector< BlamPlugin * > plugins
 The list of loaded plugins. More...
 

Function Documentation

◆ LoadPluginsFromDirectory()

BlamResult LoadPluginsFromDirectory ( std::vector< std::string >  search_folders,
bool  built_in 
)

Loads all available plugins within the application plugin directory.

Parameters
search_folders- List of directories to search for plugin files.
built_in- Whether or not to mark these plugins as built-in plugins.
Returns
BlamResult::Success_OK if all plugins loaded successfully, otherwise returns an error code.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadPluginsInFolder()

void LoadPluginsInFolder ( std::string  plugin_dir,
bool  built_in 
)

Loads all plugins within a given directory.

Parameters
plugin_dir- The path of the directory to load plugins from.
+ Here is the caller graph for this function:

Variable Documentation

◆ plugins

std::vector<BlamPlugin*> plugins

The list of loaded plugins.