summaryrefslogtreecommitdiffstats
path: root/pokescripting/ObjectWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'pokescripting/ObjectWrapper.h')
-rw-r--r--pokescripting/ObjectWrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokescripting/ObjectWrapper.h b/pokescripting/ObjectWrapper.h
index 8b3aee29..2cb9f9c4 100644
--- a/pokescripting/ObjectWrapper.h
+++ b/pokescripting/ObjectWrapper.h
@@ -26,6 +26,7 @@
#include "../pokemod/Pokemod.h"
// Qt includes
+#include <QtCore/QMap>
#include <QtCore/QObject>
namespace Pokescripting
@@ -40,6 +41,8 @@ class POKESCRIPTING_EXPORT ObjectWrapper : public Config
int id() const;
const Pokemod::Pokemod* pokemod() const;
+ protected:
+ static QMap<int, ObjectWrapper*> m_instances;
private:
const Pokemod::Object* m_object;
};