aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs
new file mode 100644
index 0000000..65f73dd
--- /dev/null
+++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs
@@ -0,0 +1,27 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using OpenSim.Region.Scripting;
6using OpenSim.Region.Scripting.LSL;
7
8namespace OpenSim.Region.Scripting
9{
10 public class LSLEngine : IScriptCompiler
11 {
12 public string FileExt()
13 {
14 return ".lso";
15 }
16
17 public Dictionary<string, IScript> compile(string filename)
18 {
19 LSLScript script = new LSLScript(filename);
20 Dictionary<string, IScript> returns = new Dictionary<string, IScript>();
21
22 returns.Add(filename, script);
23
24 return returns;
25 }
26 }
27} \ No newline at end of file