Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
944 B

  1. /*
  2. *
  3. *
  4. * C S c r i p t E n g i n e
  5. *
  6. * An individual script engine for a given language. May be used
  7. * by one and only one client at a time.
  8. *
  9. */
  10. class CScriptEngine
  11. {
  12. public:
  13. // public methods
  14. virtual HRESULT AddScriptlet(LPCOLESTR wstrScript) = 0; // Text of scriptlet
  15. virtual HRESULT AddObjects(BOOL fPersistNames = TRUE) = 0;
  16. virtual HRESULT AddAdditionalObject(LPWSTR strObjName, BOOL fPersistNames = TRUE) = 0;
  17. virtual HRESULT Call(LPCOLESTR strEntryPoint) = 0;
  18. virtual HRESULT CheckEntryPoint(LPCOLESTR strEntryPoint) = 0;
  19. virtual HRESULT MakeEngineRunnable() = 0;
  20. virtual HRESULT ResetScript() = 0;
  21. virtual HRESULT AddScriptingNamespace() = 0;
  22. virtual VOID Zombify() = 0;
  23. virtual HRESULT InterruptScript(BOOL fAbnormal = TRUE) = 0;
  24. virtual BOOL FScriptTimedOut() = 0;
  25. virtual BOOL FScriptHadError() = 0;
  26. virtual HRESULT UpdateLocaleInfo(hostinfo) = 0;
  27. };