From ed92d2ba67efe3537f6f9302f3deb479acba5e2c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 Feb 2003 18:48:07 +0000 Subject: [PATCH] add a null error dialog --- .../src/arch/ErrorDialog/ErrorDialog_null.h | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 stepmania/src/arch/ErrorDialog/ErrorDialog_null.h diff --git a/stepmania/src/arch/ErrorDialog/ErrorDialog_null.h b/stepmania/src/arch/ErrorDialog/ErrorDialog_null.h new file mode 100644 index 0000000000..835e6c9b1b --- /dev/null +++ b/stepmania/src/arch/ErrorDialog/ErrorDialog_null.h @@ -0,0 +1,21 @@ +#ifndef ERROR_DIALOG_NULL_H +#define ERROR_DIALOG_NULL_H + +#include "ErrorDialog.h" + +class ErrorDialog_null: public ErrorDialog +{ +public: + void ShowError() { } +}; + +#undef ARCH_ERROR_DIALOG +#define ARCH_ERROR_DIALOG ErrorDialog_null + +#endif + +/* + * Copyright (c) 2003 by the person(s) listed below. All rights reserved. + * + * Glenn Maynard + */