summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-02 10:05:10 +0100
committerMattes D <github@xoft.cz>2016-03-17 19:29:01 +0100
commit62d81eb763e6fb72af5d828c1892156e1f5a3127 (patch)
tree7c04181f9f1f21dbe6a5ef00d5fed53c1baa8a54 /src/Bindings/PluginManager.h
parentAdded cLuaState::cCallback for representing (resettable) Lua callbacks. (diff)
downloadcuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar.gz
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar.bz2
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar.lz
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar.xz
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.tar.zst
cuberite-62d81eb763e6fb72af5d828c1892156e1f5a3127.zip
Diffstat (limited to '')
-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