static void transactstep_cb(IntPtr packman, int seqno, int step, IntPtr name) { Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman; packman_managed.OnTransactStep(seqno, (RC.PackmanStep)step, GLib.Marshaller.Utf8PtrToString(name)); }
static void databaseunlocked_cb(IntPtr packman) { Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman; packman_managed.OnDatabaseUnlocked(); }
static void transactstart_cb(IntPtr packman, int total_steps) { Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman; packman_managed.OnTransactStart(total_steps); }
static void transactprogress_cb(IntPtr packman, UIntPtr amount, UIntPtr total) { Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman; packman_managed.OnTransactProgress((ulong)amount, (ulong)total); }
static void transactdone_cb(IntPtr packman) { Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman; packman_managed.OnTransactDone(); }