1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 16:19:54 +00:00
openmw-tes3mp/components/interpreter/context.hpp
2010-07-02 18:08:00 +02:00

34 lines
783 B
C++

#ifndef INTERPRETER_CONTEXT_H_INCLUDED
#define INTERPRETER_CONTEXT_H_INCLUDED
#include <string>
#include <vector>
namespace Interpreter
{
class Context
{
public:
virtual ~Context() {}
virtual int getLocalShort (int index) const = 0;
virtual int getLocalLong (int index) const = 0;
virtual float getLocalFloat (int index) const = 0;
virtual void setLocalShort (int index, int value) = 0;
virtual void setLocalLong (int index, int value) = 0;
virtual void setLocalFloat (int index, float value) = 0;
virtual void messageBox (const std::string& message,
const std::vector<std::string>& buttons) = 0;
};
}
#endif