summaryrefslogtreecommitdiffstats
path: root/pokescripting/CoinListWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'pokescripting/CoinListWrapper.h')
-rw-r--r--pokescripting/CoinListWrapper.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/pokescripting/CoinListWrapper.h b/pokescripting/CoinListWrapper.h
index a224545a..9b9bc63e 100644
--- a/pokescripting/CoinListWrapper.h
+++ b/pokescripting/CoinListWrapper.h
@@ -40,6 +40,7 @@ class POKESCRIPTING_EXPORT CoinListWrapper : public ObjectWrapper
}
public slots:
QString name() const;
+ Pokemod::Script script() const;
CoinListObjectWrapper* object(const int index);
int objectCount() const;
@@ -49,28 +50,6 @@ class POKESCRIPTING_EXPORT CoinListWrapper : public ObjectWrapper
const Pokemod::CoinList* m_coinList;
};
-
-inline CoinListWrapper::CoinListWrapper(const Pokemod::CoinList* coinList, QObject* parent) :
- ObjectWrapper(coinList, parent),
- m_coinList(coinList)
-{
-}
-
-inline QString CoinListWrapper::name() const
-{
- return m_coinList->name();
-}
-
-inline CoinListObjectWrapper* CoinListWrapper::object(const int index)
-{
- return CoinListObjectWrapper::create(m_coinList->object(index), this);
-}
-
-inline int CoinListWrapper::objectCount() const
-{
- return m_coinList->objectCount();
-}
-
}
#endif