summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs
diff options
context:
space:
mode:
authorScott <[email protected]>2015-09-26 21:29:34 +0100
committerScott <[email protected]>2015-09-26 21:30:33 +0100
commitc19ea798a23bfea7aba509309bef9168ece09836 (patch)
tree72c318fc971208bfcb0149bd98efef6a63f85926 /win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs
parenta6cf5c5fd4b4c23ad3998ff270162768ce9ae6e7 (diff)
App Services Modelling Tidy Up
Making event objects immutable. Making Libhb constructs internal to the library. We should expose this with a managed api if we need it outside the library. (Part 1)
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs
index 758cfd302..7b981b7af 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/HandBrakeUnitConversionHelpers.cs
@@ -73,7 +73,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted model.
/// </returns>
- public static HBVideoEncoder NativeToVideoEncoder(hb_encoder_s encoder)
+ internal static HBVideoEncoder NativeToVideoEncoder(hb_encoder_s encoder)
{
return new HBVideoEncoder
{
@@ -93,7 +93,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted model.
/// </returns>
- public static HBAudioEncoder NativeToAudioEncoder(hb_encoder_s encoder)
+ internal static HBAudioEncoder NativeToAudioEncoder(hb_encoder_s encoder)
{
var result = new HBAudioEncoder
{
@@ -120,7 +120,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted rate object.
/// </returns>
- public static HBRate NativeToRate(hb_rate_s rate)
+ internal static HBRate NativeToRate(hb_rate_s rate)
{
return new HBRate
{
@@ -138,7 +138,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted model.
/// </returns>
- public static HBMixdown NativeToMixdown(hb_mixdown_s mixdown)
+ internal static HBMixdown NativeToMixdown(hb_mixdown_s mixdown)
{
return new HBMixdown
{
@@ -157,7 +157,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted structure.
/// </returns>
- public static HBContainer NativeToContainer(hb_container_s container)
+ internal static HBContainer NativeToContainer(hb_container_s container)
{
return new HBContainer
{
@@ -177,7 +177,7 @@ namespace HandBrake.ApplicationServices.Interop
/// <returns>
/// The converted structure.
/// </returns>
- public static Language NativeToLanguage(iso639_lang_t language)
+ internal static Language NativeToLanguage(iso639_lang_t language)
{
string englishName = InteropUtilities.ToStringFromUtf8Ptr(language.eng_name);
string nativeName = InteropUtilities.ToStringFromUtf8Ptr(language.native_name);