diff options
Diffstat (limited to 'sources/generated/Gst/DateTime.cs')
-rw-r--r-- | sources/generated/Gst/DateTime.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sources/generated/Gst/DateTime.cs b/sources/generated/Gst/DateTime.cs index 56639cc..b40feba 100644 --- a/sources/generated/Gst/DateTime.cs +++ b/sources/generated/Gst/DateTime.cs @@ -220,6 +220,15 @@ namespace Gst { } [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_date_time_new_from_unix_epoch_local_time_usecs(long usecs); + + public static DateTime NewFromUnixEpochLocalTimeUsecs(long usecs) + { + DateTime result = new DateTime (gst_date_time_new_from_unix_epoch_local_time_usecs(usecs)); + return result; + } + + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_date_time_new_from_unix_epoch_utc(long secs); public static DateTime NewFromUnixEpochUtc(long secs) @@ -229,6 +238,15 @@ namespace Gst { } [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern IntPtr gst_date_time_new_from_unix_epoch_utc_usecs(long usecs); + + public static DateTime NewFromUnixEpochUtcUsecs(long usecs) + { + DateTime result = new DateTime (gst_date_time_new_from_unix_epoch_utc_usecs(usecs)); + return result; + } + + [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gst_date_time_new_local_time(int year, int month, int day, int hour, int minute, double seconds); public DateTime (int year, int month, int day, int hour, int minute, double seconds) |