summaryrefslogtreecommitdiffstats
path: root/sigencore/plugins/ClientPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigencore/plugins/ClientPlugin.h')
-rw-r--r--sigencore/plugins/ClientPlugin.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sigencore/plugins/ClientPlugin.h b/sigencore/plugins/ClientPlugin.h
index 0a9ca054..0bb0c521 100644
--- a/sigencore/plugins/ClientPlugin.h
+++ b/sigencore/plugins/ClientPlugin.h
@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGENCOREPLUGINS_PLAYERPLUGIN
-#define SIGENCOREPLUGINS_PLAYERPLUGIN
+#ifndef SIGENCOREPLUGINS_CLIENTPLUGIN
+#define SIGENCOREPLUGINS_CLIENTPLUGIN
// Plugin includes
#include "PluginBase.h"
@@ -33,27 +33,27 @@ class GameWrapper;
namespace Sigencore
{
-class Player;
+class Client;
namespace Plugins
{
-class SIGENCOREPLUGINS_EXPORT PlayerPlugin : public PluginBase
+class SIGENCOREPLUGINS_EXPORT ClientPlugin : public PluginBase
{
Q_OBJECT
public:
- PlayerPlugin(QObject* parent, const QVariantList& args);
- virtual ~PlayerPlugin();
+ ClientPlugin(QObject* parent, const QVariantList& args);
+ virtual ~ClientPlugin();
- Player* getPlayer(const QString& name, Sigscript::GameWrapper* game, Sigscript::Config* parent);
+ Client* getClient(const QString& name, Sigscript::GameWrapper* game, Sigscript::Config* parent);
virtual QStringList classList() const = 0;
virtual QString description(const QString& name) const = 0;
virtual QIcon icon(const QString& name) = 0;
protected:
- virtual Player* createPlayer(const QString& name, Sigscript::GameWrapper* game, Sigscript::Config* parent) = 0;
+ virtual Client* createClient(const QString& name, Sigscript::GameWrapper* game, Sigscript::Config* parent) = 0;
protected slots:
- virtual void cleanupPlayer(Sigencore::Player* player) = 0;
+ virtual void cleanupClient(Sigencore::Client* client) = 0;
private:
class Private;
Private* const d;