Commit afb3e6c0 authored by Martin Finkel's avatar Martin Finkel

Setting more types to internal

parent ef0391f5
......@@ -87,5 +87,5 @@ namespace LibVLCSharp.Shared
}
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void EventCallback(IntPtr args);
internal delegate void EventCallback(IntPtr args);
}
\ No newline at end of file
......@@ -3,9 +3,9 @@ using System.Runtime.InteropServices;
namespace LibVLCSharp.Shared
{
public class PlatformHelper
internal class PlatformHelper
{
public static bool IsWindows
internal static bool IsWindows
{
#if NET40
get => Environment.OSVersion.Platform == PlatformID.Win32NT;
......@@ -14,7 +14,7 @@ namespace LibVLCSharp.Shared
#endif
}
public static bool IsLinux
internal static bool IsLinux
{
#if NET40
get => Environment.OSVersion.Platform == PlatformID.Unix;
......@@ -23,7 +23,7 @@ namespace LibVLCSharp.Shared
#endif
}
public static bool IsMac
internal static bool IsMac
{
#if NET40
get => false; // no easy way to detect Mac platform host at runtime under net471
......@@ -32,6 +32,6 @@ namespace LibVLCSharp.Shared
#endif
}
public static bool IsX64BitProcess => IntPtr.Size == 8;
internal static bool IsX64BitProcess => IntPtr.Size == 8;
}
}
\ No newline at end of file
......@@ -2,9 +2,9 @@
namespace LibVLCSharp.Shared
{
public class VLCException : Exception
internal class VLCException : Exception
{
public VLCException(string message = ""):base(message)
internal VLCException(string message = ""):base(message)
{
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment