<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Giles
Jones wrote:
<br>
<blockquote type="cite"><br>
On 18 Jul 2007, at 23:57, Joe Pfeiffer wrote:
  <br>
  <br>
  <blockquote type="cite"><br>
Note that dbus is already a part of openmoko.
    <br>
  </blockquote>
  <br>
Ah, always thought DBUS was some sort of HAL. But on close inspection
it's a bit like DCOP which is very powerful.
  <br>
  <br>
All that's needed is a nice interface to configure the actions then.
  <br>
</blockquote>
You could use dbus as the IPC but that doesn't obviate the need to do
the rest of the work for the hooks.&nbsp; All relevant processes need to
call relevant methods at the right times and wait for the results.&nbsp; In
addition, those relevant methods should all go to a single 'add-ons
manager' that handles registration of these modules, holds (and allows
modification of) configuration information and handles areas such as
chaining.&nbsp; It would be responsible for calling a method on each module
separately, in the right order and returning the correct final result.&nbsp;
It would also need to handle administrative issues such as timeouts.
<br>
<br>
So although I agree that you could use dbus it doesn't solve the
problem all by itself.&nbsp; Plus of course the major thing that you need is
from the base code is to have the appropriate dbus methods in place.
<br>
<br>
Cheers,
<br>
Jim.
<br>
<br>
</div>
</body>
</html>