emacs-devel
[Top][All Lists]
Advanced

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

Re: DBus methods without name grabbing


From: Jan Moringen
Subject: Re: DBus methods without name grabbing
Date: Wed, 05 Jan 2011 05:17:28 +0100

Hi Michael.

> >> - We might introduce a new function `dbus-register-service' (in 
> >> dbusbind.c).
> >>   It could offer optional argument flags, a list of the supported flags
> >>   of "org.freedesktop.DBus.RequestName"
> >>   (DBUS_NAME_FLAG_ALLOW_REPLACEMENT, DBUS_NAME_FLAG_REPLACE_EXISTING,
> >>   DBUS_NAME_FLAG_DO_NOT_QUEUE). This function shall be called in
> >>   `dbus-register-method' and `dbus-register-property' when
> >>   `dont-register-service' is nil. Btw, the function
> >>   `dbus-unregister-service' exists already ...
> >
> > I would rather tackle this change in a separate patch later.
> 
> OK, I'll do it next days (except you want to do it yourself :-)

I gave it a shot. See attached patch. Like the last patch, this probably
needs revision.

Kind regards,
Jan

Attachment: dbus-register-service.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]