#ifndef LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_ #define LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_ #include "../../typedefs.hpp" #include "../../delegates.hpp" #include "../../data/dynamic.hpp" #include #include #include namespace scripting { using common_func = std::function&)>; runnable create_runnable( const scriptenv& env, const std::string& src, const std::string& file="" ); wstringconsumer create_wstring_consumer( const scriptenv& env, const std::string& src, const std::string& file="" ); wstringsupplier create_wstring_supplier( const scriptenv& env, const std::string& src, const std::string& file="" ); wstringchecker create_wstring_validator( const scriptenv& env, const std::string& src, const std::string& file="" ); boolconsumer create_bool_consumer( const scriptenv& env, const std::string& src, const std::string& file="" ); boolsupplier create_bool_supplier( const scriptenv& env, const std::string& src, const std::string& file="" ); doubleconsumer create_number_consumer( const scriptenv& env, const std::string& src, const std::string& file="" ); doublesupplier create_number_supplier( const scriptenv& env, const std::string& src, const std::string& file="" ); int_array_consumer create_int_array_consumer( const scriptenv& env, const std::string& src, const std::string& file="" ); vec2supplier create_vec2_supplier( const scriptenv& env, const std::string& src, const std::string& file="" ); } #endif // LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_