cyphesis/tests/stubs/rulesets/stubScript.h
Erik Ogenvik e80d07560c Reload entity scripts when python code changes.
For now we reload all scripts. We should be smarter and only reload
those scripts which are affected though.
2018-04-30 23:34:58 +02:00

27 lines
No EOL
702 B
C++

// AUTOGENERATED file, created by the tool generate_stub.py, don't edit!
// If you want to add your own functionality, instead edit the stubScript_custom.h file.
#include "rulesets/Script.h"
#include "stubScript_custom.h"
#ifndef STUB_RULESETS_SCRIPT_H
#define STUB_RULESETS_SCRIPT_H
#ifndef STUB_Script_operation
//#define STUB_Script_operation
bool Script::operation(const std::string & opname, const Atlas::Objects::Operation::RootOperation & op, OpVector & res)
{
return false;
}
#endif //STUB_Script_operation
#ifndef STUB_Script_hook
//#define STUB_Script_hook
void Script::hook(const std::string & function, LocatedEntity * entity)
{
}
#endif //STUB_Script_hook
#endif