diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-19 01:22:22 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-19 01:22:22 +0000 |
commit | 342d0201b07d9030fced2f3baf3ecdefc841879a (patch) | |
tree | f0715cc7b267e2ce2bc93971d9e95c7e0c9b2b62 /pokemod/EggGroup.h | |
parent | d017d90324a439dfb4bd3f25d30deb672bc40fd4 (diff) | |
download | sigen-342d0201b07d9030fced2f3baf3ecdefc841879a.tar.gz sigen-342d0201b07d9030fced2f3baf3ecdefc841879a.tar.xz sigen-342d0201b07d9030fced2f3baf3ecdefc841879a.zip |
[DEL] Removed PokeGen namespace
[ADD] general/AudioCache.h completed
[DEL] VERSION removed from subdir .pro files
[DEL] audio/
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@33 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/EggGroup.h')
-rw-r--r-- | pokemod/EggGroup.h | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/pokemod/EggGroup.h b/pokemod/EggGroup.h index ce706338..88fb64ea 100644 --- a/pokemod/EggGroup.h +++ b/pokemod/EggGroup.h @@ -27,31 +27,28 @@ #include "Object.h" #include "Pokemod.h" -namespace PokeGen +namespace PokeMod { - namespace PokeMod + class EggGroup : public Object { - class EggGroup : public Object - { - public: - EggGroup(const Pokemod& par, const unsigned _id); - EggGroup(const Pokemod& par, const EggGroup& e, const unsigned _id); - EggGroup(const Pokemod& par, const QString& fname, const unsigned _id = UINT_MAX); - - void load(const QString& fname, const unsigned _id = UINT_MAX) throw(Exception); - void save() const throw(Exception); - - void setName(const QString& n); - - QString getName() const; - - EggGroup& operator=(const EggGroup& rhs); - private: - bool validate() const; - - QString name; - }; - } + public: + EggGroup(const Pokemod& par, const unsigned _id); + EggGroup(const Pokemod& par, const EggGroup& e, const unsigned _id); + EggGroup(const Pokemod& par, const QString& fname, const unsigned _id = UINT_MAX); + + void load(const QString& fname, const unsigned _id = UINT_MAX) throw(Exception); + void save() const throw(Exception); + + void setName(const QString& n); + + QString getName() const; + + EggGroup& operator=(const EggGroup& rhs); + private: + bool validate() const; + + QString name; + }; } #endif |