Snuvi.h 454 B

1234567891011121314151617181920212223
  1. #ifndef SNUVI_H
  2. #define SNUVI_H
  3. #include "utils/Functions.h"
  4. #include "utils/StringBuffer.h"
  5. namespace Snuvi {
  6. enum Event { NONE, COMMAND };
  7. void init();
  8. void initFunction(const char* name, DataType returnType, ScriptFunction sf);
  9. void addArgument(DataType type);
  10. void addFunction();
  11. int start(const char* path);
  12. void termAll();
  13. void callEvent(Event event);
  14. Pointer toString(Script* sc, const char* s);
  15. }
  16. #endif