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/SkinWrapper.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'pokescripting/SkinWrapper.h') diff --git a/pokescripting/SkinWrapper.h b/pokescripting/SkinWrapper.h index 5d96e0f6..8212befa 100644 --- a/pokescripting/SkinWrapper.h +++ b/pokescripting/SkinWrapper.h @@ -39,24 +39,13 @@ class POKESCRIPTING_EXPORT SkinWrapper : public ObjectWrapper } public slots: QString name() const; + Pokemod::Script script() const; private: SkinWrapper(const Pokemod::Skin* skin, QObject* parent); SkinWrapper& operator=(const SkinWrapper& rhs); const Pokemod::Skin* m_skin; }; - -inline SkinWrapper::SkinWrapper(const Pokemod::Skin* skin, QObject* parent) : - ObjectWrapper(skin, parent), - m_skin(skin) -{ -} - -inline QString SkinWrapper::name() const -{ - return m_skin->name(); -} - } #endif -- cgit