internal static extern ErrorCode ResumeWidget(IntPtr widget);
[DllImport(Libraries.WidgetViewerEvas, EntryPoint = "widget_viewer_evas_get_content_info")]
- internal static extern string GetContentInfo(IntPtr widget);
+ internal static extern IntPtr GetContentInfo(IntPtr widget);
[DllImport(Libraries.WidgetViewerEvas, EntryPoint = "widget_viewer_evas_get_title_string")]
- internal static extern string GetTitleString(IntPtr widget);
+ internal static extern IntPtr GetTitleString(IntPtr widget);
[DllImport(Libraries.WidgetViewerEvas, EntryPoint = "widget_viewer_evas_get_widget_id")]
- internal static extern string GetWidgetId(IntPtr widget);
+ internal static extern IntPtr GetWidgetId(IntPtr widget);
[DllImport(Libraries.WidgetViewerEvas, EntryPoint = "widget_viewer_evas_get_period")]
internal static extern double GetPeriod(IntPtr widget);
"version": 2,\r
"targets": {\r
".NETStandard,Version=v1.3": {\r
- "ElmSharp/1.1.0-beta-005": {\r
+ "ElmSharp/1.1.0-beta-011": {\r
"type": "package",\r
"compile": {\r
"lib/netstandard1.3/ElmSharp.dll": {}\r
}\r
},\r
"libraries": {\r
- "ElmSharp/1.1.0-beta-005": {\r
- "sha512": "zFIFe8eaLj+3vqlgq07cav9zM7WwEgSWJFPXNpZtyib5F2Buy3T3E9QQhYgLchTpuhaFBTHjnv6KEUXNtHvJNw==",\r
+ "ElmSharp/1.1.0-beta-011": {\r
+ "sha512": "0ZQqB2XEc0aA0f+2Je272fZE+uDLJ8rfzrjlifwCLWGd4luyPuOVYPhptN3vb0Nid8pTvBSpaQQOFc+pZbUeTA==",\r
"type": "package",\r
- "path": "ElmSharp/1.1.0-beta-005",\r
+ "path": "ElmSharp/1.1.0-beta-011",\r
"files": [\r
- "ElmSharp.1.1.0-beta-005.nupkg.sha512",\r
+ "ElmSharp.1.1.0-beta-011.nupkg.sha512",\r
"ElmSharp.nuspec",\r
"lib/net45/ElmSharp.dll",\r
"lib/netstandard1.3/ElmSharp.dll"\r
using ElmSharp;
using System;
+using System.Runtime.InteropServices;
namespace Tizen.Applications
{
{
get
{
- return Interop.WidgetViewerEvas.GetWidgetId(Layout);
+ IntPtr ptr = Interop.WidgetViewerEvas.GetWidgetId(Layout);
+
+ return Marshal.PtrToStringAnsi(ptr);
}
}
{
get
{
- return Interop.WidgetViewerEvas.GetContentInfo(Layout);
+ IntPtr ptr = Interop.WidgetViewerEvas.GetContentInfo(Layout);
+
+ return Marshal.PtrToStringAnsi(ptr);
}
}
{
get
{
- return Interop.WidgetViewerEvas.GetTitleString(Layout);
+ IntPtr ptr = Interop.WidgetViewerEvas.GetTitleString(Layout);
+
+ return Marshal.PtrToStringAnsi(ptr);
}
}