diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs index 7c22eed..6b3804c 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
57 | bool GetScriptState(LLUUID itemID); | 57 | bool GetScriptState(LLUUID itemID); |
58 | void SetState(LLUUID itemID, string newState); | 58 | void SetState(LLUUID itemID, string newState); |
59 | int GetStartParameter(LLUUID itemID); | 59 | int GetStartParameter(LLUUID itemID); |
60 | IWorkItemResult QueueEventHandler(object parms); | 60 | IScriptWorkItem QueueEventHandler(object parms); |
61 | 61 | ||
62 | DetectParams GetDetectParams(LLUUID item, int number); | 62 | DetectParams GetDetectParams(LLUUID item, int number); |
63 | } | 63 | } |
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index 03a3802..3aeb602 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -43,6 +43,13 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
43 | AttachmentCrossing = 2 | 43 | AttachmentCrossing = 2 |
44 | } | 44 | } |
45 | 45 | ||
46 | public interface IScriptWorkItem | ||
47 | { | ||
48 | bool Cancel(); | ||
49 | void Abort(); | ||
50 | bool Wait(TimeSpan t); | ||
51 | } | ||
52 | |||
46 | public interface IScriptInstance | 53 | public interface IScriptInstance |
47 | { | 54 | { |
48 | bool Running { get; set; } | 55 | bool Running { get; set; } |