diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-05 22:15:39 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-05 22:15:39 +0100 |
commit | a263dc8e83d1dc805aac8469cc2c740d88336575 (patch) | |
tree | 282f0ded16c33662a2f13244c6fa949fcdce182b /source/PluginManager.h | |
parent | Removed settings/webadmin.example.ini files (diff) | |
download | cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.gz cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.bz2 cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.lz cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.xz cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.zst cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.zip |
Diffstat (limited to 'source/PluginManager.h')
-rw-r--r-- | source/PluginManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h index f2ea000c9..4140bffb5 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -275,12 +275,14 @@ private: void ReloadPluginsNow(void); /// Reloads all plugins with a cIniFile object expected to be initialised to settings.ini - /// Used because cRoot otherwise overwrites any configuration generation here if cRoot's IniFile is not used void ReloadPluginsNow(cIniFile & a_SettingsIni); /// Unloads all plugins void UnloadPluginsNow(void); + /// Handles writing default plugins if 'Plugins' key not found using a cIniFile object expected to be intialised to settings.ini + void InsertDefaultPlugins(cIniFile & a_SettingsIni); + /// Adds the plugin into the internal list of plugins and initializes it. If initialization fails, the plugin is removed again. bool AddPlugin(cPlugin * a_Plugin); |