summaryrefslogtreecommitdiffstats
path: root/sigscript/ObjectWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/ObjectWrapper.h')
-rw-r--r--sigscript/ObjectWrapper.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sigscript/ObjectWrapper.h b/sigscript/ObjectWrapper.h
index 648b693b..d5260b74 100644
--- a/sigscript/ObjectWrapper.h
+++ b/sigscript/ObjectWrapper.h
@@ -15,27 +15,27 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __POKESCRIPTING_OBJECTWRAPPER__
-#define __POKESCRIPTING_OBJECTWRAPPER__
+#ifndef __SIGSCRIPT_OBJECTWRAPPER__
+#define __SIGSCRIPT_OBJECTWRAPPER__
-// Pokescripting includes
+// Sigscript includes
#include "Config.h"
-// Pokemod includes
-#include "../pokemod/Object.h"
-#include "../pokemod/Pokemod.h"
+// Sigmod includes
+#include "../sigmod/Object.h"
+#include "../sigmod/Sigmod.h"
// Qt includes
#include <QtCore/QMap>
#include <QtCore/QObject>
#include <QtCore/QPair>
-namespace Pokescripting
+namespace Sigscript
{
// Forward declarations
-class PokemodWrapper;
+class SigmodWrapper;
-class POKESCRIPTING_EXPORT ObjectWrapper : public Config
+class SIGSCRIPT_EXPORT ObjectWrapper : public Config
{
Q_OBJECT
Q_PROPERTY(int id READ id)
@@ -43,20 +43,20 @@ class POKESCRIPTING_EXPORT ObjectWrapper : public Config
public:
typedef QPair<ObjectWrapper*, int> Signiture;
- ObjectWrapper(const Pokemod::Object* object, ObjectWrapper* parent);
+ ObjectWrapper(const Sigmod::Object* object, ObjectWrapper* parent);
int id() const;
const ObjectWrapper* parent() const;
ObjectWrapper* parent();
- const PokemodWrapper* pokemod() const;
- PokemodWrapper* pokemod();
+ const SigmodWrapper* sigmod() const;
+ SigmodWrapper* sigmod();
protected:
static QMap<Signiture, ObjectWrapper*> m_instances;
private:
ObjectWrapper* m_parent;
- const Pokemod::Object* m_object;
+ const Sigmod::Object* m_object;
};
}