2010-11-28 12:02:38 +00:00
|
|
|
/*
|
|
|
|
* messagebox.h
|
|
|
|
* d1x-rebirth
|
|
|
|
*
|
|
|
|
* Display an error or warning messagebox using the OS's window server.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MESSAGEBOX_H
|
|
|
|
#define _MESSAGEBOX_H
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-11-28 12:02:38 +00:00
|
|
|
// Display a warning in a messagebox
|
2013-06-08 22:24:17 +00:00
|
|
|
extern void msgbox_warning(const char *message);
|
2010-11-28 12:02:38 +00:00
|
|
|
|
|
|
|
// Display an error in a messagebox
|
2013-06-23 21:18:48 +00:00
|
|
|
extern void msgbox_error(const char *message);
|
2010-11-28 12:02:38 +00:00
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-11-30 12:46:10 +00:00
|
|
|
#endif
|