|
|
1.1 ! root 1: /* ! 2: Hatari - AlertHooks.h ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 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); ! 14: ! 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 ! 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.