|
|
1.1 root 1: /*
2: Hatari - AlertHooks.h
3:
1.1.1.3 root 4: This file is distributed under the GNU General Public License, version 2
5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6:
7: Hooked alerts, to be used instead of SDL alert windows
8: */
9:
10: #ifdef ALERT_HOOKS
11: // Replacement for a regular alert (with just an OK button)
12: // Returns TRUE if OK clicked, FALSE otherwise
13: int HookedAlertNotice(const char* szMessage);
1.1.1.4 ! root 14:
1.1 root 15: // Replacement for a query alert (OK and Cancel buttons)
16: // Returns TRUE if OK clicked, FALSE otherwise
17: int HookedAlertQuery(const char* szMessage);
18:
19: // Runtime switch to activate/deactivate alert hooks
1.1.1.2 root 20: extern bool useAlertHooks;
21: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.