diff options
Diffstat (limited to 'sigtools')
-rw-r--r-- | sigtools/PluginLoader.cpp | 4 | ||||
-rw-r--r-- | sigtools/PluginLoader.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sigtools/PluginLoader.cpp b/sigtools/PluginLoader.cpp index 35e23be2..1155c1f8 100644 --- a/sigtools/PluginLoader.cpp +++ b/sigtools/PluginLoader.cpp @@ -77,7 +77,7 @@ QSharedPointer<Game> PluginLoader::game(const QString& name) return loader->game(name); } -Arena* PluginLoader::loadArena(const QString& name, GameWrapper* game, Config* parent) +Arena* PluginLoader::arena(const QString& name, GameWrapper* game, Config* parent) { ArenaPlugin* plugin = qobject_cast<ArenaPlugin*>(loader->factory("Arena", name)); if (plugin) @@ -85,7 +85,7 @@ Arena* PluginLoader::loadArena(const QString& name, GameWrapper* game, Config* p return NULL; } -Canvas* PluginLoader::loadCanvas(const QString& name, GameWrapper* game, Config* parent) +Canvas* PluginLoader::canvas(const QString& name, GameWrapper* game, Config* parent) { CanvasPlugin* plugin = qobject_cast<CanvasPlugin*>(loader->factory("Canvas", name)); if (plugin) diff --git a/sigtools/PluginLoader.h b/sigtools/PluginLoader.h index 83c0d171..f9829b72 100644 --- a/sigtools/PluginLoader.h +++ b/sigtools/PluginLoader.h @@ -61,8 +61,8 @@ namespace PluginLoader SIGTOOLS_EXPORT QIcon icon(const QString& type, const QString& name); SIGTOOLS_EXPORT QSharedPointer<Sigmod::Game> game(const QString& name); - SIGTOOLS_EXPORT Sigencore::Arena* loadArena(const QString& arena, Sigscript::GameWrapper* game, Sigscript::Config* parent); - SIGTOOLS_EXPORT Sigencore::Canvas* loadCanvas(const QString& canvas, Sigscript::GameWrapper* game, Sigscript::Config* parent); + SIGTOOLS_EXPORT Sigencore::Arena* arena(const QString& arena, Sigscript::GameWrapper* game, Sigscript::Config* parent); + SIGTOOLS_EXPORT Sigencore::Canvas* canvas(const QString& canvas, Sigscript::GameWrapper* game, Sigscript::Config* parent); } } |