source: anuga_work/development/anugavis/src/error.h @ 5487

Last change on this file since 5487 was 5271, checked in by jack, 16 years ago

AnugaVis?: Something's drawing. Starting work on event handling to get motion.

File size: 717 bytes
Line 
1#ifndef ANUGAVIS_ERROR_H
2#define ANUGAVIS_ERROR_H
3
4#ifdef HAVE_CONFIG_H
5#  include "config.h"
6#endif
7
8#ifdef HAVE_GL_GL_H
9#  include <GL/gl.h>
10#elif HAVE_OPENGL_GL_H
11#  include <OpenGL/gl.h>
12#endif
13
14/* Set the error message with a printf-style format string.
15 */
16extern void AnugaVis_SetError(const char *format, ...);
17/* Report a SDL error.
18 */
19extern void AnugaVis_SDLError(void);
20/* Report a NetCDF error.
21 */
22extern void AnugaVis_NetCDFError(int ncerr);
23/* Report an OpenGL error.
24 */
25extern void AnugaVis_OpenGLError(GLenum errorCode);
26
27/* Get detailed error information. The returned string should not be
28 * freed by the caller.
29 */
30extern char* AnugaVis_GetError(void);
31
32#endif
Note: See TracBrowser for help on using the repository browser.