From db589c5559f2e556592db10b052ed688fa199b0e Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 4 Feb 2021 20:41:45 +0000 Subject: 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. --- .../Interop/Interfaces/Model/HBContainer.cs | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs (limited to 'win/CS/HandBrake.Interop/Interop/Interfaces/Model/HBContainer.cs') 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 @@ +// -------------------------------------------------------------------------------------------------------------------- +// +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// +// +// The hb container. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrake.Interop.Interop.Interfaces.Model +{ + /// + /// The hb container. + /// + public class HBContainer + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The default extension. + /// + /// + /// The display name. + /// + /// + /// The id. + /// + /// + /// The short name. + /// + public HBContainer(string defaultExtension, string displayName, int id, string shortName) + { + this.DefaultExtension = defaultExtension; + this.DisplayName = displayName; + this.Id = id; + this.ShortName = shortName; + } + + /// + /// Gets the default extension. + /// + public string DefaultExtension { get; private set; } + + /// + /// Gets the display name. + /// + public string DisplayName { get; private set; } + + /// + /// Gets the id. + /// + public int Id { get; private set; } + + /// + /// Gets the short name. + /// + public string ShortName { get; private set; } + } +} \ No newline at end of file -- cgit v1.2.3