diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-04-22 04:47:24 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-04-22 04:47:24 (GMT) |
commit | 2366667fc97eb6a56203b2dd7dac776ff4164abd (patch) | |
tree | b2acb6cc6bfe475d7e619e4788973b61fff775e0 /src/declarative/qml/script/instructions.h | |
parent | 2c762f3b8b284a7c6dc0c499b7052013bad5b707 (diff) | |
download | Qt-2366667fc97eb6a56203b2dd7dac776ff4164abd.zip Qt-2366667fc97eb6a56203b2dd7dac776ff4164abd.tar.gz Qt-2366667fc97eb6a56203b2dd7dac776ff4164abd.tar.bz2 |
Initial import of kinetic-dui branch from the old kinetic
Diffstat (limited to 'src/declarative/qml/script/instructions.h')
-rw-r--r-- | src/declarative/qml/script/instructions.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/declarative/qml/script/instructions.h b/src/declarative/qml/script/instructions.h new file mode 100644 index 0000000..a21cbce --- /dev/null +++ b/src/declarative/qml/script/instructions.h @@ -0,0 +1,32 @@ +#ifndef _INSTRUCTIONS_H_ +#define _INSTRUCTIONS_H_ + +struct ScriptInstruction { + enum { + Load, // fetch + Fetch, // fetch + + Add, // NA + Subtract, // NA + Multiply, // NA + Equals, // NA + And, // NA + + Int, // integer + Bool, // boolean + } type; + + union { + struct { + int idx; + } fetch; + struct { + int value; + } integer; + struct { + bool value; + } boolean; + }; +}; + +#endif // _INSTRUCTIONS_H_ |