diff options
author | Nicolas Bacca | 2004-05-30 13:15:02 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-05-30 13:15:02 +0000 |
commit | 65949528d88221c6c3eb8305b0f48517d875c0ac (patch) | |
tree | 3be266b0ab12c469984e88157a1dfed468003d7a /backends/wince/CEException.h | |
parent | ba2a4a48c425689cdddb63c65f6baea4c078c8ff (diff) | |
download | scummvm-rg350-65949528d88221c6c3eb8305b0f48517d875c0ac.tar.gz scummvm-rg350-65949528d88221c6c3eb8305b0f48517d875c0ac.tar.bz2 scummvm-rg350-65949528d88221c6c3eb8305b0f48517d875c0ac.zip |
Automatic severe crash reporting
svn-id: r13903
Diffstat (limited to 'backends/wince/CEException.h')
-rw-r--r-- | backends/wince/CEException.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/backends/wince/CEException.h b/backends/wince/CEException.h new file mode 100644 index 0000000000..f1ded8c42a --- /dev/null +++ b/backends/wince/CEException.h @@ -0,0 +1,33 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2001-2004 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#include <windows.h> + +class CEException { +public: + static bool writeException(TCHAR *path, EXCEPTION_POINTERS *exceptionPointers); +private: + static void writeString(HANDLE file, char *data); + static void writeBreak(HANDLE file); + static void dumpContext(HANDLE file, HANDLE hProcess, CONTEXT *context); + static void dumpException(HANDLE file, EXCEPTION_RECORD *exceptionRecord); + +};
\ No newline at end of file |