2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
|
|
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
|
|
* terms and a link to the Git history.
|
|
|
|
*/
|
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
|
|
|
|
|
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
|
|
|
#endif
|
|
|
|
|
2010-11-30 12:46:10 +00:00
|
|
|
#endif
|