Commit Graph

16 Commits

Author SHA1 Message Date
pavlov%netscape.com
4a9b682a87 add newline at the end of the files 1999-09-28 21:21:31 +00:00
pavlov%netscape.com
06e61813c0 change emacs headers to use C++ instead of IDL and add newline to bottom of files 1999-09-28 21:20:18 +00:00
tbogard%aol.net
2f30ff5996 1.) nsIEvent now has an attribute for isExitEvent(). This allows one to test if the current event represented by nsIEvent is a signal to exit the loop.
2.)  The various Run* routines were made more general.  This allowed me to move them completely within the nsCBaseLoop code rather than have them duplicated across the different Base Loop Typed classes.  This avoids the cut and pasting of code, that will probably be tweaked in the future.

3.)  To support the new Run* routines, I have added a RetrieveNextEvent and then a PlatformRetrieveNextEvent.  The first is implemented in nsCBaseLoop.  This was added to facilitate ordering of event retrieval in the near future (ie, pulling system events before normal events, or pulling PLEvents etc.)  The second function is one that platform code must override.  This is different for each loop type.  Basically this is supposed to be whatever it takes for a given implementation to pull the next event off the queue for the given loop type.  So in the Windows world, this function calls GetMessage() for the Thread and App loop types and then PeekMessage() with PM_REMOVE set for the Breath loop type.

This code is compiled but not used by the main build.  A=chofmann
1999-09-28 16:52:10 +00:00
briano%netscape.com
04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
tbogard%aol.net
f7586ca105 Implemented nsIWinEvent and nsIWinEventFilter to allow picking the windows platform structure apart rather than grabbing as a blob. 1999-09-16 06:43:26 +00:00
Jerry.Kirk%Nexwarecorp.com
246d1455e1 Add new Photon files I forgot yesterday 1999-09-09 14:44:37 +00:00
Jerry.Kirk%Nexwarecorp.com
e7cec87bc9 Major change in ncCEvent, I made another encapsulation layer called
nsCPhEvent
1999-09-08 20:11:24 +00:00
tbogard%aol.net
a4d2794e61 Clarified some documentation. 1999-09-08 19:24:16 +00:00
Jerry.Kirk%Nexwarecorp.com
4b570cfbfc First attempt at a unix Makefile for the nativeApp directory.
I have it building a static lib right now, but I think thats wrong,
going to talk to Travis to see what this really is/should be.
1999-09-08 14:42:26 +00:00
Jerry.Kirk%Nexwarecorp.com
3ab6c75705 First attempt at unix Makefile for the xp directory. Makes use of MOZ_TOOLKIT
to include certain files. It creates a static library that is then included
into a shared library by each toolkits code.
Also checked in the Photon event and filter definition.
1999-09-08 14:40:13 +00:00
Jerry.Kirk%Nexwarecorp.com
4bc22f0e9e First attempt at getting unix Makefiles to work, not sure where
everything goes just yet..
1999-09-08 14:38:21 +00:00
Jerry.Kirk%Nexwarecorp.com
e8d169a16b First attempt at a unix Makefile for appshell. It descends into the "xp"
directory and then into photon or gtk depending on the toolkit.
1999-09-08 14:36:49 +00:00
Jerry.Kirk%Nexwarecorp.com
742eb0a560 Just the beginnings of a Photon Event Loop, still work in progress 1999-09-03 12:55:19 +00:00
tbogard%aol.net
80c60a6e0c Factored the common code found in all the platforms into a single base class that is inserted higher up the class heirarchy. This allows us to further reduce the amount of cut and paste code that would have to be done. 1999-09-01 11:09:10 +00:00
tbogard%aol.net
d4fb172397 First checkin of nativeApp and the xp event loop. Not connected to the build yet. 1999-09-01 00:56:38 +00:00
tbogard%aol.net
43ed877918 Moving Event loop interfaces to it's new home from xpcom/apps. Implementation will start here. Also renamed msg to be event to be less windows-ish. 1999-08-24 05:47:30 +00:00