summaryrefslogtreecommitdiffstats
path: root/sigencore/plugins/PlayerPlugin_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigencore/plugins/PlayerPlugin_p.h')
-rw-r--r--sigencore/plugins/PlayerPlugin_p.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/sigencore/plugins/PlayerPlugin_p.h b/sigencore/plugins/PlayerPlugin_p.h
new file mode 100644
index 00000000..33888984
--- /dev/null
+++ b/sigencore/plugins/PlayerPlugin_p.h
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2009 Ben Boeckel <MathStuf@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef SIGENCOREPLUGINS_PLAYERPLUGIN_P
+#define SIGENCOREPLUGINS_PLAYERPLUGIN_P
+
+// Header include
+#include "PlayerPlugin.h"
+
+// Forward declarations
+class QSignalMapper;
+
+namespace Sigencore
+{
+namespace Plugins
+{
+class SIGENCOREPLUGINS_NO_EXPORT PlayerPlugin::Private : public QObject
+{
+ Q_OBJECT
+
+ public:
+ Private(PlayerPlugin* plugin, const QVariantList& args);
+ ~Private();
+
+ void addPlayer(Player* player);
+ private:
+ PlayerPlugin* const q;
+ QSignalMapper* m_mapper;
+ private slots:
+ void cleanupPlayer(QObject* object);
+};
+}
+}
+
+#endif