summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-17 22:21:10 +0100
committerMattes D <github@xoft.cz>2016-03-17 22:21:10 +0100
commit46430911feef2247c22141a31182b245081f00a6 (patch)
tree10155f63ac6ba948d965853ae20a083f7f49ecba /src/Bindings/PluginManager.h
parentMerge pull request #3081 from Arthur2e5/master (diff)
parentChanged cLuaWindow callbacks to use cLuaState::cCallback. (diff)
downloadcuberite-46430911feef2247c22141a31182b245081f00a6.tar
cuberite-46430911feef2247c22141a31182b245081f00a6.tar.gz
cuberite-46430911feef2247c22141a31182b245081f00a6.tar.bz2
cuberite-46430911feef2247c22141a31182b245081f00a6.tar.lz
cuberite-46430911feef2247c22141a31182b245081f00a6.tar.xz
cuberite-46430911feef2247c22141a31182b245081f00a6.tar.zst
cuberite-46430911feef2247c22141a31182b245081f00a6.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index f3f0b6d0b..a97582fbe 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -332,6 +332,9 @@ public:
Returns true if all plugins have been reported, false if the callback has aborted the enumeration by returning true. */
bool ForEachPlugin(cPluginCallback & a_Callback);
+ /** Returns the name of the folder (cPlugin::GetFolderName()) from which the specified plugin was loaded. */
+ AString GetPluginFolderName(const AString & a_PluginName); // tolua_export
+
/** Returns the path where individual plugins' folders are expected.
The path doesn't end in a slash. */
static AString GetPluginsPath(void) { return FILE_IO_PREFIX + AString("Plugins"); } // tolua_export