예제 #1
0
        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));
        }
예제 #2
0
        static void databaseunlocked_cb(IntPtr packman)
        {
            Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman;

            packman_managed.OnDatabaseUnlocked();
        }
예제 #3
0
        static void transactstart_cb(IntPtr packman, int total_steps)
        {
            Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman;

            packman_managed.OnTransactStart(total_steps);
        }
예제 #4
0
        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);
        }
예제 #5
0
        static void transactdone_cb(IntPtr packman)
        {
            Packman packman_managed = GLib.Object.GetObject(packman, false) as Packman;

            packman_managed.OnTransactDone();
        }