From 08b74fbf792812f230f6715926adeb073c0cc264 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 10 Oct 2003 10:41:57 +0000 Subject: a small TODO/idea (maybe we should add an IDEAS file?) svn-id: r10713 --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index d49d3c5d2d..80bd9033c9 100644 --- a/TODO +++ b/TODO @@ -15,6 +15,14 @@ General in each Plugin which given a FSList returns a list of candidate targets. This way, a plugin can implement tests more elaborate than filename checking, e.g. it could actually peek into the files. +* make some generic "EventLoop" API/class which all backends and the GUI + use. Initially this would just call the backend poll_event() etc. methods. + But eventually the EventLoop object(s) could be made by the backend. + This may allow for more efficient CPU usage etc. + The current event handling model essentially is polling: the engines run + some kind of main loop, which, besides many other things, also polls and + dispatches events. The idea is to turn this around: the event loop + frequently gives the engine time to do these "other things". GUI === -- cgit v1.2.3