summaryrefslogtreecommitdiffstats
path: root/source/PluginManager.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-04 22:51:24 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-04 22:51:24 +0100
commite832736e0bf315585f873b43520d1d771930a1c2 (patch)
treed9fce26b198075371b04356b6f66f31da51f4493 /source/PluginManager.h
parentProtocol 1.7: Added more client-bound packets. (diff)
downloadcuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.gz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.bz2
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.lz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.xz
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.tar.zst
cuberite-e832736e0bf315585f873b43520d1d771930a1c2.zip
Diffstat (limited to 'source/PluginManager.h')
-rw-r--r--source/PluginManager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h
index 816e4a40c..f2ea000c9 100644
--- a/source/PluginManager.h
+++ b/source/PluginManager.h
@@ -271,7 +271,14 @@ private:
cPluginManager();
~cPluginManager();
+ /// Reloads all plugins, defaulting to settings.ini for settings location
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);
/// Adds the plugin into the internal list of plugins and initializes it. If initialization fails, the plugin is removed again.