diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
| commit | 0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch) | |
| tree | a2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigscript/NatureWrapper.h | |
| parent | b81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff) | |
| download | sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.gz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.xz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.zip | |
[FIX] Renamed everything (in use) away from Poké- prefixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/NatureWrapper.h')
| -rw-r--r-- | sigscript/NatureWrapper.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sigscript/NatureWrapper.h b/sigscript/NatureWrapper.h index 037a014c..c4b55272 100644 --- a/sigscript/NatureWrapper.h +++ b/sigscript/NatureWrapper.h @@ -15,34 +15,34 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __POKESCRIPTING_NATUREWRAPPER__ -#define __POKESCRIPTING_NATUREWRAPPER__ +#ifndef __SIGSCRIPT_NATUREWRAPPER__ +#define __SIGSCRIPT_NATUREWRAPPER__ -// Pokescripting includes +// Sigscript includes #include "ObjectWrapper.h" -// Pokemod includes -#include "../pokemod/Nature.h" +// Sigmod includes +#include "../sigmod/Nature.h" -namespace Pokescripting +namespace Sigscript { -class POKESCRIPTING_EXPORT NatureWrapper : public ObjectWrapper +class SIGSCRIPT_EXPORT NatureWrapper : public ObjectWrapper { Q_OBJECT public: - static NatureWrapper* create(const Pokemod::Nature* nature, PokemodWrapper* parent); + static NatureWrapper* create(const Sigmod::Nature* nature, SigmodWrapper* parent); Q_SCRIPTABLE QString name() const; - Q_SCRIPTABLE Pokemod::Fraction stat(const Pokemod::Stat stat) const; + Q_SCRIPTABLE Sigmod::Fraction stat(const Sigmod::Stat stat) const; Q_SCRIPTABLE int weight() const; private: - NatureWrapper(const Pokemod::Nature* nature, PokemodWrapper* parent); + NatureWrapper(const Sigmod::Nature* nature, SigmodWrapper* parent); NatureWrapper& operator=(const NatureWrapper& rhs); - const Pokemod::Nature* m_nature; + const Sigmod::Nature* m_nature; }; } -Q_DECLARE_METATYPE(Pokescripting::NatureWrapper*) +Q_DECLARE_METATYPE(Sigscript::NatureWrapper*) #endif |
