Source code of Windows XP (NT5)
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
903 B

/*
*
*
* C S c r i p t E n g i n e
*
* An individual script engine for a given language. May be used
* by one and only one client at a time.
*
*/
class CScriptEngine
{
public:
// public methods
virtual HRESULT AddScriptlet(LPCOLESTR wstrScript) = 0; // Text of scriptlet
virtual HRESULT AddObjects(BOOL fPersistNames = TRUE) = 0;
virtual HRESULT AddAdditionalObject(LPWSTR strObjName, BOOL fPersistNames = TRUE) = 0;
virtual HRESULT Call(LPCOLESTR strEntryPoint) = 0;
virtual HRESULT CheckEntryPoint(LPCOLESTR strEntryPoint) = 0;
virtual HRESULT MakeEngineRunnable() = 0;
virtual HRESULT ResetScript() = 0;
virtual HRESULT AddScriptingNamespace() = 0;
virtual VOID Zombify() = 0;
virtual HRESULT InterruptScript(BOOL fAbnormal = TRUE) = 0;
virtual BOOL FScriptTimedOut() = 0;
virtual BOOL FScriptHadError() = 0;
virtual HRESULT UpdateLocaleInfo(hostinfo) = 0;
};