github.com/secoba/wails/v2@v2.6.4/internal/frontend/desktop/darwin/WailsAlert.h (about) 1 // 2 // WailsAlert.h 3 // test 4 // 5 // Created by Lea Anthony on 20/10/21. 6 // 7 8 #ifndef WailsAlert_h 9 #define WailsAlert_h 10 11 #import <Cocoa/Cocoa.h> 12 13 @interface WailsAlert : NSAlert 14 - (void)addButton:(NSString*)text :(NSString*)defaultButton :(NSString*)cancelButton; 15 @end 16 17 18 #endif /* WailsAlert_h */