summaryrefslogtreecommitdiffstats
path: root/sigscript/RulesWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/RulesWrapper.h')
-rw-r--r--sigscript/RulesWrapper.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/sigscript/RulesWrapper.h b/sigscript/RulesWrapper.h
index a4492022..b5aeaad8 100644
--- a/sigscript/RulesWrapper.h
+++ b/sigscript/RulesWrapper.h
@@ -15,23 +15,23 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __POKESCRIPTING_RULESWRAPPER__
-#define __POKESCRIPTING_RULESWRAPPER__
+#ifndef __SIGSCRIPT_RULESWRAPPER__
+#define __SIGSCRIPT_RULESWRAPPER__
-// Pokescripting includes
+// Sigscript includes
#include "ObjectWrapper.h"
-// Pokemod includes
-#include "../pokemod/Rules.h"
+// Sigmod includes
+#include "../sigmod/Rules.h"
-namespace Pokescripting
+namespace Sigscript
{
-class POKESCRIPTING_EXPORT RulesWrapper : public ObjectWrapper
+class SIGSCRIPT_EXPORT RulesWrapper : public ObjectWrapper
{
Q_OBJECT
public:
- static RulesWrapper* create(const Pokemod::Rules* rules, PokemodWrapper* parent);
+ static RulesWrapper* create(const Sigmod::Rules* rules, SigmodWrapper* parent);
Q_SCRIPTABLE bool genderAllowed() const;
Q_SCRIPTABLE bool breedingAllowed() const;
@@ -57,12 +57,12 @@ class POKESCRIPTING_EXPORT RulesWrapper : public ObjectWrapper
Q_SCRIPTABLE int maxTotalEV() const;
Q_SCRIPTABLE int maxEVPerStat() const;
private:
- RulesWrapper(const Pokemod::Rules* rules, PokemodWrapper* parent);
+ RulesWrapper(const Sigmod::Rules* rules, SigmodWrapper* parent);
RulesWrapper& operator=(const RulesWrapper& rhs);
- const Pokemod::Rules* m_rules;
+ const Sigmod::Rules* m_rules;
};
}
-Q_DECLARE_METATYPE(Pokescripting::RulesWrapper*)
+Q_DECLARE_METATYPE(Sigscript::RulesWrapper*)
#endif