summaryrefslogtreecommitdiffstats
path: root/pokescripting/GlobalScriptWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'pokescripting/GlobalScriptWrapper.h')
-rw-r--r--pokescripting/GlobalScriptWrapper.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/pokescripting/GlobalScriptWrapper.h b/pokescripting/GlobalScriptWrapper.h
index eb65b913..00496e77 100644
--- a/pokescripting/GlobalScriptWrapper.h
+++ b/pokescripting/GlobalScriptWrapper.h
@@ -39,24 +39,13 @@ class POKESCRIPTING_EXPORT GlobalScriptWrapper : public ObjectWrapper
}
public slots:
QString name() const;
+ Pokemod::Script script() const;
private:
GlobalScriptWrapper(const Pokemod::GlobalScript* globalScript, QObject* parent);
GlobalScriptWrapper& operator=(const GlobalScriptWrapper& rhs);
const Pokemod::GlobalScript* m_globalScript;
};
-
-inline GlobalScriptWrapper::GlobalScriptWrapper(const Pokemod::GlobalScript* globalScript, QObject* parent) :
- ObjectWrapper(globalScript, parent),
- m_globalScript(globalScript)
-{
-}
-
-inline QString GlobalScriptWrapper::name() const
-{
- return m_globalScript->name();
-}
-
}
#endif