Hello,

I have spent the best part of my day trying to talk to fso from Vala.

I can manage to connect to signals with simple signatures, like this:

        protected void timechanged(dynamic DBus.Object pos, int t)
        {
                zavai.log.info("TIMECHANGED");
        }

        [...]

                time = r.sbus.get_object(
                        "org.freesmartphone.ogpsd",
                        "/org/freedesktop/Gypsy",
                        "org.freedesktop.Gypsy.Time");
                time.TimeChanged += timechanged;

However, I cannot connect to signals with more complex signatures, like
org.freesmartphone.Usage.ResourceChanged or
org.freesmartphone.GPS.UBX.DebugPacket. I cannot seem to be able to
concoct a method signature that will properly match the signal, and my
callbacks never get called.

People on #vala on GimpNet will probably have seen my numerous
unanswered questions in the channel this afternoon.

Can I have some guidance on this? Is it implemented at all?
 

Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to