mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:19:56 +00:00
74c103ddc1
Move lib_t type to Scripts/Types.hpp
28 lines
649 B
C++
28 lines
649 B
C++
//
|
|
// Created by koncord on 19.03.16.
|
|
//
|
|
|
|
#ifndef PLUGINSYSTEM3_LANGUAGE_HPP
|
|
#define PLUGINSYSTEM3_LANGUAGE_HPP
|
|
|
|
#include "Types.hpp"
|
|
|
|
#include <boost/any.hpp>
|
|
#include <vector>
|
|
|
|
class Language
|
|
{
|
|
public:
|
|
virtual ~Language(){}
|
|
virtual void LoadProgram(const char* filename) = 0;
|
|
virtual int FreeProgram() = 0;
|
|
virtual bool IsCallbackPresent(const char* name) = 0;
|
|
virtual boost::any Call(const char* name, const char* argl, int buf, ...) = 0;
|
|
virtual boost::any Call(const char* name, const char* argl, const std::vector<boost::any>& args) = 0;
|
|
|
|
virtual lib_t GetInterface() = 0;
|
|
|
|
};
|
|
|
|
|
|
#endif //PLUGINSYSTEM3_LANGUAGE_HPP
|