2 using System.Collections.Generic;
7 internal static partial class Interop
9 internal static partial class TizenShell
11 const string lib = "libtzsh_common.so.0";
13 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_create")]
14 internal static extern IntPtr Create(int type);
16 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_destroy")]
17 internal static extern int Destroy(IntPtr tzsh);
19 [global::System.Runtime.InteropServices.DllImport(lib, EntryPoint = "tzsh_event_type_new")]
20 internal static extern int NewEventType(IntPtr tzsh, string name);
22 internal enum ToolKitType
28 private const int ErrorTzsh = -0x02860000;
30 internal enum ErrorCode
32 None = Tizen.Internals.Errors.ErrorCode.None, /* Successful */
33 OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory, /* Out of memory */
34 InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter, /* Invalid parameter */
35 PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied, /* Permission denied */
36 NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported, /* NOT supported */
37 NoService = ErrorTzsh | 0x01, /* Service does not exist */