Hello!

I've just started to play with Vala and its DBus bindings, created a sample
service and found that service methods names are mangled when exported to DBus.
For example a method named in Vala sources as get_fan_speed(....) becomes
GetFanSpeed(....), set_feature(....) becomes SetFeature(....) and so on.

Since I'm re-implementing an existing service I would like to preserve existing
service methods signatures. Is it possible to do this w/ current Vala DBus
bindings?

I also would like to point on a minor documentation deficiency. Arguments and
return values of DBus-exported methods in Vala should have DBus-compatible
types. Vala DBus bindings don't perform any implicit type conversions (e.g.
ushort <-> uint16 or float <-> double). It seems this info is missing in the
corresponding tutorial, and violation of this rule leads to obscure DBus service
failures.

Thank you in advance,
Alexey Morozov

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to