Manages the plugins.  
 More...
#include <PluginManager.h>
|  | 
| std::map< std::string, std::string >
 | discoverPlugins (std::string pluginsFolder) | 
|  | Disovers plugin (.so) files in the specified folder. 
 | 
|  | 
Initializes the pointers the plugins need. 
- Parameters
- 
  
    | configPtr | Current instance of Config. |  | methodsPtr | Current instance of Methods. |  | commandsPtr | Current instance of the CommandManager. |  | playersPtr | Current instance of the playerlist. |  | mapsPtr | Current instance of the maplist. |  | databasePtr | Current instance of the database connection. |  | uiPtr | Current instance of the interface manager. |  
 
 
 
      
        
          | void PluginManager::LoadPlugins | ( | std::string | pluginsFolder = "./plugins" | ) |  | 
      
 
Loads the plugins in the specified folder. 
- Parameters
- 
  
    | pluginsFolder | Relative path to the plugins folder. |  
 
 
 
      
        
          | void PluginManager::SetEventManager | ( | EventManager * | eventManagerPtr | ) |  | 
      
 
Sets the event manager to be used for callbacks. 
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following files:
- /home/travis/build/TheMaximum/mania-pp/src/Plugins/PluginManager.h
- /home/travis/build/TheMaximum/mania-pp/src/Plugins/PluginManager.cpp