OpenMW
components/interpreter/opcodes.hpp
Go to the documentation of this file.
00001 #ifndef INTERPRETER_OPCODES_H_INCLUDED
00002 #define INTERPRETER_OPCODES_H_INCLUDED
00003 
00004 namespace Interpreter
00005 {
00006     class Runtime;
00007 
00009     class Opcode0
00010     {
00011         public:
00012         
00013             virtual void execute (Runtime& runtime) = 0;
00014             
00015             virtual ~Opcode0() {}
00016     };
00017 
00019     class Opcode1
00020     {
00021         public:
00022         
00023             virtual void execute (Runtime& runtime, unsigned int arg0) = 0;
00024             
00025             virtual ~Opcode1() {}
00026     };
00027 
00029     class Opcode2
00030     {
00031         public:
00032         
00033             virtual void execute (Runtime& runtime, unsigned int arg1, unsigned int arg2) = 0;
00034             
00035             virtual ~Opcode2() {}
00036     };
00037 
00038 }
00039 
00040 #endif