summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-19 17:20:15 +0200
committerMattes D <github@xoft.cz>2015-04-19 17:20:15 +0200
commit4a946aa8c40b084dd36352e617b24407a2dd537b (patch)
treec7d3bd7870293e84885c9e36ce71a5c3132a4c9b /src/Bindings/PluginManager.h
parentRefactored cWebPlugin for C++11 style and proper WebTab clearing. (diff)
downloadcuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar.gz
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar.bz2
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar.lz
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar.xz
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.tar.zst
cuberite-4a946aa8c40b084dd36352e617b24407a2dd537b.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index f32feb8a3..994f19943 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -265,7 +265,10 @@ public:
/** Removes all command bindings that the specified plugin has made */
void RemovePluginCommands(cPlugin * a_Plugin);
-
+
+ /** Returns true if the specified plugin is loaded. */
+ bool IsPluginLoaded(const AString & a_PluginName); // tolua_export
+
/** Binds a command to the specified plugin. Returns true if successful, false if command already bound. */
bool BindCommand(const AString & a_Command, cPlugin * a_Plugin, const AString & a_Permission, const AString & a_HelpString); // Exported in ManualBindings.cpp, without the a_Plugin param