Re: [Vala] DBus bindings questions



Hi!

 Łukasz Pankowski написал wrote:

Alexey Morozov <morozov_ml ngs ru> writes:
Hello!
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?

valac has an option for this:
  --disable-dbus-transformation      Disable transformation of D-Bus member
 names

Well this switch is only for DBus client it doesn't affetc DBus services 
written in Vala (as of 0.7.7 at least). I've been told (on #vala) that I 
should manually specify
[DBus (name="<desired_method_name>")]
before each method declaration.

I wonder if this is the only way to achieve what I need and what other options 
can be passed with/instead of 'name=...'.

Sincerely yours,
Alexey Morozov



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]