diff options
author | sr55 <[email protected]> | 2011-12-21 18:01:05 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-12-21 18:01:05 +0000 |
commit | 122ea23a9cc9b22313fee0648fa9831132074817 (patch) | |
tree | 84388224cf67ea970b3fcb4a1402439cab3444bc /win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs | |
parent | ce0f63d8cb8bfacaf4fc139ac49eaf0775bb27e1 (diff) |
WinGui: (WPF) Some further work on the WPF GUI. Started to hook up presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4379 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs index d5807aff9..81eaa6849 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs @@ -20,6 +20,11 @@ namespace HandBrake.ApplicationServices.Services.Interfaces ObservableCollection<Preset> Presets { get; }
/// <summary>
+ /// Gets DefaultPreset.
+ /// </summary>
+ Preset DefaultPreset { get; }
+
+ /// <summary>
/// Add a new preset to the system
/// </summary>
/// <param name="preset">
@@ -32,6 +37,14 @@ namespace HandBrake.ApplicationServices.Services.Interfaces bool Add(Preset preset);
/// <summary>
+ /// Update a preset
+ /// </summary>
+ /// <param name="update">
+ /// The updated preset
+ /// </param>
+ void Update(Preset update);
+
+ /// <summary>
/// Remove a preset with a given name from either the built in or user preset list.
/// </summary>
/// <param name="preset">
@@ -69,11 +82,27 @@ namespace HandBrake.ApplicationServices.Services.Interfaces void ClearAll();
/// <summary>
- /// Reads the CLI's CLI output format and load's them into the preset List Preset
+ /// Set Default Preset
+ /// </summary>
+ /// <param name="name">
+ /// The name.
+ /// </param>
+ void SetDefault(Preset name);
+
+ /// <summary>
+ /// Returns a value if the preset can be updated / resaved
/// </summary>
- /// <param name="cliPath">
- /// The Path to the CLI, leave blank for current folder.
+ /// <param name="name">
+ /// The name.
/// </param>
+ /// <returns>
+ /// True if it's not a built-in preset, false otherwise.
+ /// </returns>
+ bool CanUpdatePreset(string name);
+
+ /// <summary>
+ /// Reads the CLI's CLI output format and load's them into the preset List Preset
+ /// </summary>
void UpdateBuiltInPresets();
/// <summary>
|