ROVLib2
RISCOSC++applicationdevelopmentlibrary
wimp_error.h
1 #pragma once
2 
3 #include <kernel.h>
4 #include "wimp_basics.h"
5 
6 #ifdef __cplusplus
7 extern "C"
8 {
9 #endif
10 
11  int wimp_error(const char* error_string, unsigned int flags);
12  void swerr(const char* error_string, ...);
13 
14  extern _kernel_oserror* pebLastError;
15 
16 #define WIMPERROR_OKBOX (1 << 0)
17 #define WIMPERROR_CANCELBOX (1 << 1)
18 #define WIMPERROR_HIGHLIGHTCANCEL (1 << 2)
19 #define WIMPERROR_NOAPPLICATIONPREFIX (1 << 4)
20 
21 #ifdef __cplusplus
22 }
23 #endif