summaryrefslogtreecommitdiffstats
path: root/source/PluginManager.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-05 22:24:23 +0100
committerMattes D <github@xoft.cz>2013-11-05 22:24:23 +0100
commit12eeb3f6c88f54b77363923fcff2bd4ce53ff07f (patch)
tree3ed83d1132a2b1a8b6f9e36a7d6f3a527d258992 /source/PluginManager.h
parentClarified cBlockHandler::ConvertToPickups() dox. (diff)
parentImplemented suggestions (diff)
downloadcuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.gz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.bz2
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.lz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.xz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.zst
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.zip
Diffstat (limited to 'source/PluginManager.h')
-rw-r--r--source/PluginManager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h
index 816e4a40c..4140bffb5 100644
--- a/source/PluginManager.h
+++ b/source/PluginManager.h
@@ -271,9 +271,18 @@ 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
+ 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);