2 #include <proto/intuition.h>
4 #include "raauto_alerts.h"
6 void RAAutoClassNotFound (CONST_STRPTR class_name
) {
7 TEXT alert_message
[256];
8 snprintf(alert_message
, sizeof(alert_message
), "%c%c%c" "Failed to open class '%s'." "%c%c"
9 "%c%c%c" "Make sure that you have a new enough version of ClassAct or ReAction" "%c%c"
10 "%c%c%c" "installed on your system." "%c%c",
11 0, 16, 16, FilePart(class_name
), 0, 1,
14 DisplayAlert(RECOVERY_ALERT
, alert_message
, 52);