aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/TrailerCommands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/TrailerCommands.cs')
-rw-r--r--ShiftOS.WinForms/TrailerCommands.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/TrailerCommands.cs b/ShiftOS.WinForms/TrailerCommands.cs
new file mode 100644
index 0000000..6264db0
--- /dev/null
+++ b/ShiftOS.WinForms/TrailerCommands.cs
@@ -0,0 +1,24 @@
+#define TRAILER
+#if TRAILER
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using ShiftOS.Engine;
+
+namespace ShiftOS.WinForms
+{
+ [Namespace("trailer")]
+ public static class TrailerCommands
+ {
+ [Command("init")]
+ public static bool TrailerInit()
+ {
+ var oobe = new Oobe();
+ oobe.StartTrailer();
+ return true;
+ }
+ }
+}
+#endif \ No newline at end of file