summaryrefslogtreecommitdiffstats
path: root/sigtools
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-27 16:53:42 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-27 16:53:42 -0400
commit8712fb3686248c7917b889db558d57c92576d061 (patch)
treeb5e7b1d305135d0089dc0301acf0bf8ab5be3449 /sigtools
parentf3123368e4d16e5cfd817a506a23bec335f46447 (diff)
downloadsigen-8712fb3686248c7917b889db558d57c92576d061.tar.gz
sigen-8712fb3686248c7917b889db558d57c92576d061.tar.xz
sigen-8712fb3686248c7917b889db558d57c92576d061.zip
Change names of loading functions
Diffstat (limited to 'sigtools')
-rw-r--r--sigtools/PluginLoader.cpp4
-rw-r--r--sigtools/PluginLoader.h4
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);
}
}