diff options
Diffstat (limited to 'win/CS/HandBrake.Worker/Program.cs')
-rw-r--r-- | win/CS/HandBrake.Worker/Program.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/win/CS/HandBrake.Worker/Program.cs b/win/CS/HandBrake.Worker/Program.cs index 139cf8c8f..d65d5d36a 100644 --- a/win/CS/HandBrake.Worker/Program.cs +++ b/win/CS/HandBrake.Worker/Program.cs @@ -15,6 +15,16 @@ namespace HandBrake.Worker public class Program { + /* + * TODO + * Methods: + * 1. Fetch Log + * 2. Fetch Log since last index. + * Services: + * 3. Support for connecting via sockets. + * 4. All methods will return a json state object response. + */ + private static ApiRouter router; public static void Main(string[] args) @@ -66,7 +76,8 @@ namespace HandBrake.Worker apiHandlers.Add("StopEncode", router.StopEncode); apiHandlers.Add("PollEncodeProgress", router.PollEncodeProgress); apiHandlers.Add("SetConfiguration", router.SetConfiguration); - + apiHandlers.Add("Initialise", router.Initialise); + return apiHandlers; } } |