diff options
author | sr55 <[email protected]> | 2021-02-04 20:41:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-02-04 20:41:45 +0000 |
commit | db589c5559f2e556592db10b052ed688fa199b0e (patch) | |
tree | acaf716b8ffd97978575b767569ea506112d1daf /win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs | |
parent | f52375b929185731ee0033cb605e2281c9966d02 (diff) |
WinGui: HandBrake.Interop further API tidyup. Namespace changes. Many "model" objects have moved to interfaces.models to avoid confusion. A number of filter/video enums have moved to HandBrakeWPF as they are not part of the API.
Diffstat (limited to 'win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs')
-rw-r--r-- | win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs b/win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs new file mode 100644 index 000000000..3a71117d6 --- /dev/null +++ b/win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs @@ -0,0 +1,60 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="HBContainer.cs" company="HandBrake Project (https://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> +// The hb container. +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Interop.Interfaces.Model +{ + /// <summary> + /// The hb container. + /// </summary> + public class HBContainer + { + /// <summary> + /// Initializes a new instance of the <see cref="HBContainer"/> class. + /// </summary> + /// <param name="defaultExtension"> + /// The default extension. + /// </param> + /// <param name="displayName"> + /// The display name. + /// </param> + /// <param name="id"> + /// The id. + /// </param> + /// <param name="shortName"> + /// The short name. + /// </param> + public HBContainer(string defaultExtension, string displayName, int id, string shortName) + { + this.DefaultExtension = defaultExtension; + this.DisplayName = displayName; + this.Id = id; + this.ShortName = shortName; + } + + /// <summary> + /// Gets the default extension. + /// </summary> + public string DefaultExtension { get; private set; } + + /// <summary> + /// Gets the display name. + /// </summary> + public string DisplayName { get; private set; } + + /// <summary> + /// Gets the id. + /// </summary> + public int Id { get; private set; } + + /// <summary> + /// Gets the short name. + /// </summary> + public string ShortName { get; private set; } + } +}
\ No newline at end of file |