Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27701/include
Modified Files:
MApplication.h
Log Message:
use new debug reporting classes instead of old wxCrashReport
Index: MApplication.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MApplication.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -b -u -2 -r1.105 -r1.106
--- MApplication.h 21 Apr 2004 17:42:13 -0000 1.105
+++ MApplication.h 9 Apr 2005 15:37:03 -0000 1.106
@@ -76,12 +76,18 @@
virtual void OnShutDown();
- /** called if something goes seriously wrong with the application.
- Because it can be called from a signal handler, all usual
- restrictions about signal handlers apply to this function.
- Because it can be called because of out-of-memory error,
- it shouldn't allocate memory. The only thing it can do is
- to save everything that may be saved and return a.s.a.p.
+ /**
+ Called if something goes seriously wrong with the application.
+
+ Because it can be called from a signal handler, all usual restrictions
+ about signal handlers apply to this function. Because it can be called
+ because of out-of-memory error, it shouldn't allocate [a lot of] memory.
+ The only thing it can do is to save everything that may be saved and
+ return a.s.a.p. and the program will exit after it.
+
+ @param msg a non NULL string pointer if called manually because the
+ application detected that some unrecoverable error occured
+ or NULL if caused because we have crashed
*/
- virtual void OnAbnormalTermination();
+ virtual void OnAbnormalTermination(const char *msg = NULL);
/**
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates