Questions about the Backend Interface

Derek Atkins warlord@MIT.EDU
06 Mar 2001 18:55:08 -0500


Dave Peticolas <dave@krondo.com> writes:

> How about we make the 'are there events pending' call a part of the
> backend api as well. So the engine/gui would just ask the backend if
> there are events and the backend would clear the flag when they are
> handled. That way, backends which need to implement mutexes can do so
> and the rest don't need to.

That works.  Something like:

	gboolean (*events_pending) (Backend *be);

??  :)

> dave

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available