2 using System.Collections.Generic;
5 namespace Tizen.NUI.WindowSystem.Shell
7 internal static partial class Interop
9 internal static partial class KVMService
11 const string lib = "libtzsh_kvm_service.so.0";
13 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_create")]
14 internal static extern IntPtr Create(IntPtr tzsh, IntPtr win);
16 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_destroy")]
17 internal static extern int Destroy(IntPtr kvmService);
19 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_perform_drop")]
20 internal static extern int PerformDrop(IntPtr kvmService);
22 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_cancel_drag")]
23 internal static extern int CancelDrag(IntPtr kvmService);
25 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_receive_drag_data")]
26 internal static extern int ReceiveDragData(IntPtr kvmService, string mimeType);
28 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_get_source_mimetypes")]
29 internal static extern int GetSourceMimetypes(
31 out string[] mimeTypes,
34 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_secondary_selection_set")]
35 internal static extern int SetSecondarySelection(IntPtr kvmService);
37 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_secondary_selection_unset")]
38 internal static extern int UnsetSecondarySelection(IntPtr kvmService);
40 internal delegate void KVMDragStartEventCallback(IntPtr data, IntPtr kvmService);
41 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_drag_start_cb_set")]
42 internal static extern int SetDragStartEventHandler(IntPtr kvmService, KVMDragStartEventCallback func, IntPtr data);
44 internal delegate void KVMDragEndEventCallback(IntPtr data, IntPtr kvmService);
45 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_kvm_service_drag_end_cb_set")]
46 internal static extern int SetDragEndEventHandler(IntPtr kvmService, KVMDragEndEventCallback func, IntPtr data);