Re: org.gnome.Application DBus Interface



On Thu, 2007-08-16 at 14:59 +0200, Xavier Bestel wrote:
> On Thu, 2007-08-16 at 15:07 +0200, Rodrigo Moya wrote:
> > We are talking about providing an easy way
> > for apps to call actions on other apps, right? For complex interfaces,
> > you need a proper DBus interface, but what if my app just has a
> > DoWhatever action? Should I create a new DBus interface just for that?
> > Should apps willing to use my DoWhatever action get the interface's
> > introspection files, generate bindings for that, and use a new,
> > specific
> > object just for calling that method? And what about apps that use lots
> > of apps' interfaces (Atomato, for instance, which is what I would like
> > this for), should those use dozens of introspection files, generate
> > dozens of bindings just for using 1 or 2 methods on each app?
> > 
> > If we go that way, nobody would want to use my DoWhatever action,
> > because we would be making a very simple task ("call an action on this
> > app") a PITA for the developer.
> 
> I feel that simple namespace will soon get cluttered, with lots of
> DoWhatever actions thrown together, and then they will need a way to
> differentiate. But that's pure speculation.
> 
we can enforce apps to use a org.gnome.whatever (or Whatever.) namespace
to fix this
-- 
Rodrigo Moya <rodrigo gnome-db org>




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