Re: [Easytag-mailing] Desktop integration



On Sat, 2005-02-12 at 20:03 +0100, Jérôme Couderc wrote:
>Hi,
>
>Indeed, this may be interesting...
>What are exactly yours indeas for the integration with Grip?
>

It might be a good idea to modify both applications in a way that they
can communicate with each other (introduce an IPC like ORBit-2 or DBUS
in both of them). Depending on how much the application by itself (that
is, Grip) is worth in terms of maintainership, code quality etcetera

If it isn't worth a lot (I have no idea about Grip, I haven't seen it's
code nor have followed it's development up) it might be better to just
redo it into the project EasyTag. By that I mean: Fork, copy, steal the
idea's and put it in a "plugin" that's specifically designed for
EasyTag.

If, however, the current application actually is worth a lot. And if
you, as a development team, can't perform a better job then the job they
are doing, and if they want to corporate by indeed introducing such IPC
deeply into the GRIP application .. it might be better to not recode
everything but in stead start defining an "interface" for the type of
application (or let the people at freedesktop.org do this or at least
discuss it) and let them implement that interface. And just talk "that
interface" with any application that has implemented the interface
(like, then, Grip).

Such an Interface can be simple, like:

void StartRipping (Source *s, const gchar *destination, GError *error);

void StartEncoding (const gchar *source, const gchar *destination,
GError *error);

gint GetPercentDone (void);



-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
gnome: pvanhoof at gnome dot org
work: philip dot vanhoof at cronos dot be
junk: philip dot vanhoof at gmail dot com
http://www.freax.be, http://www.freax.eu.org





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