diff options
Diffstat (limited to 'pokescripting/WeatherWrapper.h')
| -rw-r--r-- | pokescripting/WeatherWrapper.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/pokescripting/WeatherWrapper.h b/pokescripting/WeatherWrapper.h index 29b11740..bcc22e3f 100644 --- a/pokescripting/WeatherWrapper.h +++ b/pokescripting/WeatherWrapper.h @@ -39,24 +39,13 @@ class POKESCRIPTING_EXPORT WeatherWrapper : public ObjectWrapper } public slots: QString name() const; + Pokemod::Script script() const; private: WeatherWrapper(const Pokemod::Weather* weather, QObject* parent); WeatherWrapper& operator=(const WeatherWrapper& rhs); const Pokemod::Weather* m_weather; }; - -inline WeatherWrapper::WeatherWrapper(const Pokemod::Weather* weather, QObject* parent) : - ObjectWrapper(weather, parent), - m_weather(weather) -{ -} - -inline QString WeatherWrapper::name() const -{ - return m_weather->name(); -} - } #endif |
