summaryrefslogtreecommitdiffstats
path: root/sigscript/TrainerWrapper.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
commit0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch)
treea2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigscript/TrainerWrapper.h
parentb81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff)
downloadsigen-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/TrainerWrapper.h')
-rw-r--r--sigscript/TrainerWrapper.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/sigscript/TrainerWrapper.h b/sigscript/TrainerWrapper.h
index c8ae6e85..96894f67 100644
--- a/sigscript/TrainerWrapper.h
+++ b/sigscript/TrainerWrapper.h
@@ -15,45 +15,45 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __POKESCRIPTING_TRAINERWRAPPER__
-#define __POKESCRIPTING_TRAINERWRAPPER__
+#ifndef __SIGSCRIPT_TRAINERWRAPPER__
+#define __SIGSCRIPT_TRAINERWRAPPER__
-// Pokescripting includes
+// Sigscript includes
#include "ObjectWrapper.h"
-// Pokemod includes
-#include "../pokemod/Trainer.h"
+// Sigmod includes
+#include "../sigmod/Trainer.h"
-namespace Pokescripting
+namespace Sigscript
{
// Forward declarations
class SkinWrapper;
-class POKESCRIPTING_EXPORT TrainerWrapper : public ObjectWrapper
+class SIGSCRIPT_EXPORT TrainerWrapper : public ObjectWrapper
{
Q_OBJECT
public:
- static TrainerWrapper* create(const Pokemod::Trainer* trainer, PokemodWrapper* parent);
+ static TrainerWrapper* create(const Sigmod::Trainer* trainer, SigmodWrapper* parent);
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence intelligence(const QString& name) const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence intelligence(const QString& name) const;
Q_SCRIPTABLE QString name() const;
Q_SCRIPTABLE int moneyFactor() const;
Q_SCRIPTABLE SkinWrapper* skin();
Q_SCRIPTABLE int depth() const;
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence teamIntel() const;
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence moveIntel() const;
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence itemIntel() const;
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence abilityIntel() const;
- Q_SCRIPTABLE Pokemod::Trainer::Intelligence statIntel() const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence teamIntel() const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence moveIntel() const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence itemIntel() const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence abilityIntel() const;
+ Q_SCRIPTABLE Sigmod::Trainer::Intelligence statIntel() const;
private:
- TrainerWrapper(const Pokemod::Trainer* trainer, PokemodWrapper* parent);
+ TrainerWrapper(const Sigmod::Trainer* trainer, SigmodWrapper* parent);
TrainerWrapper& operator=(const TrainerWrapper& rhs);
- const Pokemod::Trainer* m_trainer;
+ const Sigmod::Trainer* m_trainer;
};
}
-Q_DECLARE_METATYPE(Pokescripting::TrainerWrapper*)
+Q_DECLARE_METATYPE(Sigscript::TrainerWrapper*)
#endif