static void NextFilesAsync_cb(IntPtr inst, int num_files, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { FileEnumerator __obj = GLib.Object.GetObject(inst, false) as FileEnumerator; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnNextFilesAsync(num_files, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void QueryInfoAsync_cb(IntPtr inst, IntPtr attributes, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { FileOutputStream __obj = GLib.Object.GetObject(inst, false) as FileOutputStream; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnQueryInfoAsync(GLib.Marshaller.Utf8PtrToString(attributes), io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void InitAsyncCallback (IntPtr initable, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.AsyncInitableImplementor __obj = GLib.Object.GetObject (initable, false) as GLib.AsyncInitableImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.InitAsync (io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void LoadAsync_cb (IntPtr inst, int size, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { ILoadableIconImplementor __obj = GLib.Object.GetObject (inst, false) as ILoadableIconImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.LoadAsync (size, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void LoadAsyncCallback(IntPtr icon, int size, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { var __obj = GLib.Object.GetObject(icon, false) as LoadableIconImplementor; var cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.LoadAsync(size, GLib.Object.GetObject(cancellable) as Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void LookupAsync_cb (IntPtr inst, IntPtr uri, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { IProxyResolverImplementor __obj = GLib.Object.GetObject (inst, false) as IProxyResolverImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.LookupAsync (GLib.Marshaller.Utf8PtrToString (uri), GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void CloseAsync_cb(IntPtr inst, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { InputStream __obj = GLib.Object.GetObject(inst, false) as InputStream; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnCloseAsync(io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void InitAsyncCallback(IntPtr initable, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.AsyncInitableImplementor __obj = GLib.Object.GetObject(initable, false) as GLib.AsyncInitableImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.InitAsync(io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void ReleaseAsync_cb(IntPtr inst, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { Permission __obj = GLib.Object.GetObject(inst, false) as Permission; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnReleaseAsync(GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void AskPasswordAsync_cb(IntPtr inst, IntPtr password, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { TlsInteraction __obj = GLib.Object.GetObject(inst, false) as TlsInteraction; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnAskPasswordAsync(GLib.Object.GetObject(password) as GLib.TlsPassword, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void LookupAsync_cb(IntPtr inst, IntPtr uri, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { IProxyResolverImplementor __obj = GLib.Object.GetObject(inst, false) as IProxyResolverImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.LookupAsync(GLib.Marshaller.Utf8PtrToString(uri), GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void ConnectAsync_cb (IntPtr inst, IntPtr connection, IntPtr proxy_address, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { IProxyImplementor __obj = GLib.Object.GetObject (inst, false) as IProxyImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.ConnectAsync (GLib.Object.GetObject(connection) as GLib.IOStream, GLib.Object.GetObject(proxy_address) as GLib.ProxyAddress, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void RequestCertificateAsync_cb(IntPtr inst, IntPtr connection, int flags, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { TlsInteraction __obj = GLib.Object.GetObject(inst, false) as TlsInteraction; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnRequestCertificateAsync(GLib.Object.GetObject(connection) as GLib.TlsConnection, (GLib.TlsCertificateRequestFlags)flags, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void NextAsync_cb(IntPtr inst, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { SocketAddressEnumerator __obj = GLib.Object.GetObject(inst, false) as SocketAddressEnumerator; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.OnNextAsync(GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void ConnectAsync_cb(IntPtr inst, IntPtr connection, IntPtr proxy_address, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { IProxyImplementor __obj = GLib.Object.GetObject(inst, false) as IProxyImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker(cb, user_data); __obj.ConnectAsync(GLib.Object.GetObject(connection) as GLib.IOStream, GLib.Object.GetObject(proxy_address) as GLib.ProxyAddress, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void QueryInfoAsync_cb (IntPtr inst, IntPtr attributes, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { FileIOStream __obj = GLib.Object.GetObject (inst, false) as FileIOStream; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnQueryInfoAsync (GLib.Marshaller.Utf8PtrToString (attributes), io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void QueryInfoAsyncCallback (IntPtr file, IntPtr attributes, int flags, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.QueryInfoAsync (GLib.Marshaller.Utf8PtrToString (attributes), (GLib.FileQueryInfoFlags) flags, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void EjectMountableWithOperationCallback (IntPtr file, int flags, IntPtr mount_operation, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.EjectMountableWithOperation ((GLib.MountUnmountFlags) flags, GLib.Object.GetObject(mount_operation) as GLib.MountOperation, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void ReleaseAsync_cb (IntPtr inst, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { Permission __obj = GLib.Object.GetObject (inst, false) as Permission; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnReleaseAsync (GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void NextFilesAsync_cb (IntPtr inst, int num_files, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { FileEnumerator __obj = GLib.Object.GetObject (inst, false) as FileEnumerator; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnNextFilesAsync (num_files, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void CopyAsyncCallback (IntPtr source, IntPtr destination, int flags, int io_priority, IntPtr cancellable, GLibSharp.FileProgressCallbackNative progress_callback, IntPtr progress_callback_data, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (source, false) as GLib.FileImplementor; GLibSharp.FileProgressCallbackInvoker progress_callback_invoker = new GLibSharp.FileProgressCallbackInvoker (progress_callback, user_data); GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.CopyAsync (GLib.FileAdapter.GetObject (destination, false), (GLib.FileCopyFlags) flags, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, progress_callback_invoker.Handler, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void AppendToAsyncCallback (IntPtr file, int flags, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.AppendToAsync ((GLib.FileCreateFlags) flags, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void PollMountableCallback (IntPtr file, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.PollMountable (GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void CloseAsync_cb (IntPtr inst, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { IOStream __obj = GLib.Object.GetObject (inst, false) as IOStream; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnCloseAsync (io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void SetDisplayNameAsyncCallback (IntPtr file, IntPtr display_name, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.SetDisplayNameAsync (GLib.Marshaller.Utf8PtrToString (display_name), io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void SpliceAsync_cb (IntPtr inst, IntPtr source, int flags, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { OutputStream __obj = GLib.Object.GetObject (inst, false) as OutputStream; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnSpliceAsync (GLib.Object.GetObject(source) as GLib.InputStream, (GLib.OutputStreamSpliceFlags) flags, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void ReplaceAsyncCallback (IntPtr file, IntPtr etag, bool make_backup, int flags, int io_priority, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { GLib.FileImplementor __obj = GLib.Object.GetObject (file, false) as GLib.FileImplementor; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.ReplaceAsync (GLib.Marshaller.Utf8PtrToString (etag), make_backup, (GLib.FileCreateFlags) flags, io_priority, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void LookupServiceAsync_cb (IntPtr inst, IntPtr rrname, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { Resolver __obj = GLib.Object.GetObject (inst, false) as Resolver; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnLookupServiceAsync (GLib.Marshaller.Utf8PtrToString (rrname), GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void LookupByAddressAsync_cb (IntPtr inst, IntPtr address, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { Resolver __obj = GLib.Object.GetObject (inst, false) as Resolver; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnLookupByAddressAsync (GLib.Object.GetObject(address) as GLib.InetAddress, GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static void NextAsync_cb (IntPtr inst, IntPtr cancellable, GLibSharp.AsyncReadyCallbackNative cb, IntPtr user_data) { try { SocketAddressEnumerator __obj = GLib.Object.GetObject (inst, false) as SocketAddressEnumerator; GLibSharp.AsyncReadyCallbackInvoker cb_invoker = new GLibSharp.AsyncReadyCallbackInvoker (cb, user_data); __obj.OnNextAsync (GLib.Object.GetObject(cancellable) as GLib.Cancellable, cb_invoker.Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }