wxWidgets/include/wx/unix
Vadim Zeitlin 5cd9986613 Refactor wxEventLoopSource-related code.
Currently wxEventLoopSource can't be created directly and can only be used to
monitor file descriptors so reduce the API to just wxEventLoop::AddSourceForFD()
and remove AddSource(), RemoveSource() and RemoveAllSources() which couldn't
be implemented for all ports. This makes the code much simpler without any
loss of functionality.

Make wxEventLoopSource responsible for removing itself from the event loop
when it is deleted. This allows to remove IsOk() and Invalidate() methods
making the code simpler and gets rid of various sets/maps which were used
before.

This also allows to support event loop sources in Carbon as well: wxOSX/Carbon
now compiles and works with wxUSE_FSWATCHER==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 11:36:35 +00:00
..
private Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
app.h Streamline wxSocket code: wxSocketBase now uses wxSocketImpl (previously known 2008-11-28 12:47:07 +00:00
apptbase.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
apptrait.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
chkconf.h wxUSE_GSTREAMER is Unix-specific, remove it from common wx/setup_inc.h; it also requires wxUSE_THREADS, check for it 2009-05-24 09:40:15 +00:00
evtloop.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
evtloopsrc.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
execute.h don't use negative PID hack in GUI neither, add a separate flag to wxEndProcessData for this 2008-03-22 15:37:16 +00:00
fontutil.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
fswatcher_inotify.h Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
fswatcher_kqueue.h Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
glx11.h added multisampling (anti-aliasing) support to wxGLCanvas (#9145) 2008-06-08 00:12:12 +00:00
joystick.h remove unneccessary header dependencies on wx/thread.h 2007-12-03 02:55:14 +00:00
mimetype.h replace TRUE/FALSE with true/false 2009-10-09 17:39:19 +00:00
pipe.h replace TRUE/FALSE with true/false 2009-10-09 17:39:19 +00:00
private.h compilation fixes for Unix after moving wxFD_XXX macros from wx/unix/private.h 2008-11-23 01:52:20 +00:00
sound.h
stackwalk.h don't use hardcoded constant 200; use wxSTACKWALKER_MAX_DEPTH instead 2009-01-14 14:38:00 +00:00
stdpaths.h Try standard XDG location for documents directory 2008-04-08 13:52:39 +00:00
taskbarx11.h prevent crash if panel/kicker is killed, bug 1872724 2008-05-11 22:45:36 +00:00
tls.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
utilsx11.h