diff options
Diffstat (limited to 'Tizen.Runtime/Tizen.Runtime/Interop.cs')
-rw-r--r-- | Tizen.Runtime/Tizen.Runtime/Interop.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Tizen.Runtime/Tizen.Runtime/Interop.cs b/Tizen.Runtime/Tizen.Runtime/Interop.cs deleted file mode 100644 index 52ceeac..0000000 --- a/Tizen.Runtime/Tizen.Runtime/Interop.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -internal static class Interop -{ - public const string Launcher = "dotnet-launcher"; - - internal delegate int PreparedCallback(IntPtr userData); - internal delegate int RequestedCallback(IntPtr userData); - - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - internal delegate int ExecutedCallback( - [In] string path, - [In] string app_root, - [In] int argc, - [MarshalAs(UnmanagedType.LPArray, SizeParamIndex=2)] - [In] string[] argv, - [In] IntPtr userData); - - [DllImport(Launcher)] - internal static extern void register_launching_callback( - [MarshalAs(UnmanagedType.FunctionPtr)] PreparedCallback prepared, - [MarshalAs(UnmanagedType.FunctionPtr)] RequestedCallback requested, - [MarshalAs(UnmanagedType.FunctionPtr)] ExecutedCallback executed, IntPtr userData); - - [DllImport(Launcher)] - internal static extern void wait_for_launching(int argc, string[] argv); -} |