OSDN Git Service

CLI: update the built in presets
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrake.ApplicationServices / Init.cs
index b1321bc..bacf132 100644 (file)
@@ -14,6 +14,63 @@ namespace HandBrake.ApplicationServices
     public class Init\r
     {\r
         /// <summary>\r
+        /// Setup the Settings used by the applicaiton with this library\r
+        /// </summary>\r
+        /// <param name="versionString">\r
+        /// The version / name of the application that's using this DLL.\r
+        /// </param>\r
+        /// <param name="instanceId">\r
+        /// The Instance ID\r
+        /// </param>\r
+        /// <param name="completionOption">\r
+        /// The completion option.\r
+        /// </param>\r
+        /// <param name="disableDvdNav">\r
+        /// The disable dvd nav.\r
+        /// </param>\r
+        /// <param name="growlEncode">\r
+        /// The growl encode.\r
+        /// </param>\r
+        /// <param name="growlQueue">\r
+        /// The growl queue.\r
+        /// </param>\r
+        /// <param name="processPriority">\r
+        /// The process priority.\r
+        /// </param>\r
+        /// <param name="saveLogPath">\r
+        /// The save log path.\r
+        /// </param>\r
+        /// <param name="saveLogToSpecifiedPath">\r
+        /// The save log to specified path.\r
+        /// </param>\r
+        /// <param name="saveLogWithVideo">\r
+        /// The save log with video.\r
+        /// </param>\r
+        /// <param name="showCliForInGuiEncodeStatus">\r
+        /// The show cli for in gui encode status.\r
+        /// </param>\r
+        /// <param name="preventSleep">\r
+        /// Prevent the system from sleeping\r
+        /// </param>\r
+        public static void SetupSettings(string versionString, int instanceId, string completionOption, bool disableDvdNav,\r
+                                  bool growlEncode, bool growlQueue, string processPriority, string saveLogPath, bool saveLogToSpecifiedPath,\r
+                                  bool saveLogWithVideo, bool showCliForInGuiEncodeStatus, bool preventSleep)\r
+        {\r
+            InstanceId = instanceId;\r
+            HandBrakeGuiVersionString = versionString;\r
+            CompletionOption = completionOption;\r
+            DisableDvdNav = disableDvdNav;\r
+            GrowlEncode = growlEncode;\r
+            GrowlQueue = growlQueue;\r
+            ProcessPriority = processPriority;\r
+            SaveLogPath = saveLogPath;\r
+            SaveLogToSpecifiedPath = saveLogToSpecifiedPath;\r
+            SaveLogWithVideo = saveLogWithVideo;\r
+            ShowCliForInGuiEncodeStatus = showCliForInGuiEncodeStatus;\r
+            PreventSleep = preventSleep;\r
+        }\r
+\r
+        /// <summary>\r
         /// Gets the Assembly version.\r
         /// </summary>\r
         /// <returns>\r
@@ -83,62 +140,5 @@ namespace HandBrake.ApplicationServices
         /// Prevent system sleep\r
         /// </summary>\r
         public static bool PreventSleep;\r
-\r
-        /// <summary>\r
-        /// Setup the Settings used by the applicaiton with this library\r
-        /// </summary>\r
-        /// <param name="versionString">\r
-        /// The version / name of the application that's using this DLL.\r
-        /// </param>\r
-        /// <param name="instanceId">\r
-        /// The Instance ID\r
-        /// </param>\r
-        /// <param name="completionOption">\r
-        /// The completion option.\r
-        /// </param>\r
-        /// <param name="disableDvdNav">\r
-        /// The disable dvd nav.\r
-        /// </param>\r
-        /// <param name="growlEncode">\r
-        /// The growl encode.\r
-        /// </param>\r
-        /// <param name="growlQueue">\r
-        /// The growl queue.\r
-        /// </param>\r
-        /// <param name="processPriority">\r
-        /// The process priority.\r
-        /// </param>\r
-        /// <param name="saveLogPath">\r
-        /// The save log path.\r
-        /// </param>\r
-        /// <param name="saveLogToSpecifiedPath">\r
-        /// The save log to specified path.\r
-        /// </param>\r
-        /// <param name="saveLogWithVideo">\r
-        /// The save log with video.\r
-        /// </param>\r
-        /// <param name="showCliForInGuiEncodeStatus">\r
-        /// The show cli for in gui encode status.\r
-        /// </param>\r
-        /// <param name="preventSleep">\r
-        /// Prevent the system from sleeping\r
-        /// </param>\r
-        public static void SetupSettings(string versionString, int instanceId, string completionOption, bool disableDvdNav,\r
-                                  bool growlEncode, bool growlQueue, string processPriority, string saveLogPath, bool saveLogToSpecifiedPath,\r
-                                  bool saveLogWithVideo, bool showCliForInGuiEncodeStatus, bool preventSleep)\r
-        {\r
-            InstanceId = instanceId;\r
-            HandBrakeGuiVersionString = versionString;\r
-            CompletionOption = completionOption;\r
-            DisableDvdNav = disableDvdNav;\r
-            GrowlEncode = growlEncode;\r
-            GrowlQueue = growlQueue;\r
-            ProcessPriority = processPriority;\r
-            SaveLogPath = saveLogPath;\r
-            SaveLogToSpecifiedPath = saveLogToSpecifiedPath;\r
-            SaveLogWithVideo = saveLogWithVideo;\r
-            ShowCliForInGuiEncodeStatus = showCliForInGuiEncodeStatus;\r
-            PreventSleep = preventSleep;\r
-        }\r
     }\r
 }\r