summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-04-21 16:57:54 +0100
committersr55 <[email protected]>2019-04-21 16:57:54 +0100
commitf91daa70b55b50ad1195ea835509178e35555d11 (patch)
treee30c3394bb4d424a24fcc9d4b09a2b7a5b98ec24 /win/CS/HandBrakeWPF/Model
parent37813cfb2ab9def39064c0d62b239ea8a3cdf668 (diff)
WinGui: Auto-name System will now always generate a unique filename. The Prefix is now a configurable Pre/Postfix in preferences. "(1)" will always be appended with an appropriate number where a collision occurs.
Diffstat (limited to 'win/CS/HandBrakeWPF/Model')
-rw-r--r--win/CS/HandBrakeWPF/Model/Options/AutonameFileCollisionBehaviour.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/Options/AutonameFileCollisionBehaviour.cs b/win/CS/HandBrakeWPF/Model/Options/AutonameFileCollisionBehaviour.cs
new file mode 100644
index 000000000..b1f7e784a
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Model/Options/AutonameFileCollisionBehaviour.cs
@@ -0,0 +1,22 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="AutonameFileCollisionBehaviour.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Model.Options
+{
+ using HandBrake.Interop.Attributes;
+
+ using HandBrakeWPF.Properties;
+
+ public enum AutonameFileCollisionBehaviour
+ {
+ [DisplayName(typeof(Resources), "CollisionBehaviour_AppendNumber")]
+ AppendNumber = 0,
+ [DisplayName(typeof(Resources), "CollisionBehaviour_Pre")]
+ Prefix = 1,
+ [DisplayName(typeof(Resources), "CollisionBehaviour_Post")]
+ Postfix = 2,
+ }
+}