summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools/PluginLoader.cpp')
-rw-r--r--sigtools/PluginLoader.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/sigtools/PluginLoader.cpp b/sigtools/PluginLoader.cpp
index 8de9e16e..2603c169 100644
--- a/sigtools/PluginLoader.cpp
+++ b/sigtools/PluginLoader.cpp
@@ -72,6 +72,14 @@ QIcon PluginLoader::icon(const QString& type, const QString& name)
return QIcon();
}
+QStringList PluginLoader::extensions(const QString& type, const QString& name)
+{
+ PluginBase* plugin = loader->factory(type, name);
+ if (plugin)
+ return plugin->extensions(name);
+ return QStringList();
+}
+
QSharedPointer<Game> PluginLoader::game(const QString& game)
{
return loader->game(game);