diff options
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs new file mode 100644 index 000000000..6d39bb8f4 --- /dev/null +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/NativeList.cs @@ -0,0 +1,34 @@ +namespace HandBrake.Interop
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Text;
+
+ /// <summary>
+ /// Represents a HandBrake style native list.
+ /// </summary>
+ public class NativeList
+ {
+ /// <summary>
+ /// The list of native memory locations allocated for this list.
+ /// </summary>
+ private List<IntPtr> allocatedMemory = new List<IntPtr>();
+
+ /// <summary>
+ /// Gets or sets the pointer to the native list.
+ /// </summary>
+ public IntPtr ListPtr { get; set; }
+
+ /// <summary>
+ /// Gets the list of native memory locations allocated for this list.
+ /// </summary>
+ public List<IntPtr> AllocatedMemory
+ {
+ get
+ {
+ return allocatedMemory;
+ }
+ }
+ }
+}
|