diff options
Diffstat (limited to 'win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs')
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs b/win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs new file mode 100644 index 000000000..91ee98356 --- /dev/null +++ b/win/CS/HandBrake.Interop/Interop/Model/BitrateLimits.cs @@ -0,0 +1,42 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="BitrateLimits.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> +// <summary> +// Defines the BitrateLimits type. +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Interop.Model +{ + /// <summary> + /// Represents bitrate limits as a range. + /// </summary> + public class BitrateLimits + { + /// <summary> + /// Initializes a new instance of the <see cref="BitrateLimits"/> class. + /// </summary> + /// <param name="low"> + /// The low. + /// </param> + /// <param name="high"> + /// The high. + /// </param> + public BitrateLimits(int low, int high) + { + this.Low = low; + this.High = high; + } + + /// <summary> + /// Gets the inclusive lower limit for the bitrate. + /// </summary> + public int Low { get; private set; } + + /// <summary> + /// Gets the inclusive upper limit for the bitrate. + /// </summary> + public int High { get; private set; } + } +} |