/* Init.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ namespace HandBrake.ApplicationServices { /// /// Initialize ApplicationServices /// public class Init { /// /// Setup the Settings used by the applicaiton with this library /// /// /// The cli_minimized. /// /// /// The completion option. /// /// /// The disable dvd nav. /// /// /// The enocde status in gui. /// /// /// The growl encode. /// /// /// The growl queue. /// /// /// The process priority. /// /// /// The save log path. /// /// /// The save log to specified path. /// /// /// The save log with video. /// /// /// The show cli for in gui encode status. /// public static void SetupSettings(bool cli_minimized, string completionOption, bool disableDvdNav, bool enocdeStatusInGui, bool growlEncode, bool growlQueue, string processPriority, string saveLogPath, bool saveLogToSpecifiedPath, bool saveLogWithVideo, bool showCliForInGuiEncodeStatus) { Properties.Settings.Default.cli_minimized = cli_minimized; Properties.Settings.Default.CompletionOption = completionOption; Properties.Settings.Default.disableDvdNav = disableDvdNav; Properties.Settings.Default.enocdeStatusInGui = enocdeStatusInGui; Properties.Settings.Default.growlEncode = growlEncode; Properties.Settings.Default.growlQueue = growlQueue; Properties.Settings.Default.processPriority = processPriority; Properties.Settings.Default.saveLogPath = saveLogPath; Properties.Settings.Default.saveLogToSpecifiedPath = saveLogToSpecifiedPath; Properties.Settings.Default.saveLogWithVideo = saveLogWithVideo; Properties.Settings.Default.showCliForInGuiEncodeStatus = showCliForInGuiEncodeStatus; Properties.Settings.Default.Save(); } } }