From cf49a16b29ac412cfea125f7216a0e51e79aa4de Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 5 Aug 2008 06:10:55 +0000 Subject: [FIX] List members of pokemod classes now can be returned in their entirety [FIX] Reworked pokescripting for ease of use [FIX] Now (selected) pokemod values can be overridden in pokescripting git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@237 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokescripting/ObjectWrapper.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'pokescripting/ObjectWrapper.h') diff --git a/pokescripting/ObjectWrapper.h b/pokescripting/ObjectWrapper.h index 2cb9f9c4..69a15150 100644 --- a/pokescripting/ObjectWrapper.h +++ b/pokescripting/ObjectWrapper.h @@ -46,23 +46,6 @@ class POKESCRIPTING_EXPORT ObjectWrapper : public Config private: const Pokemod::Object* m_object; }; - -inline ObjectWrapper::ObjectWrapper(const Pokemod::Object* object, QObject* parent) : - Config(parent), - m_object(object) -{ -} - -inline int ObjectWrapper::id() const -{ - return m_object->id(); -} - -inline const Pokemod::Pokemod* ObjectWrapper::pokemod() const -{ - return qobject_cast(m_object->pokemod()); -} - } #endif -- cgit