From 8712fb3686248c7917b889db558d57c92576d061 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 27 Mar 2009 16:53:42 -0400 Subject: Change names of loading functions --- sigtools/PluginLoader.cpp | 4 ++-- sigtools/PluginLoader.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sigtools') 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 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(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(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 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); } } -- cgit