diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-19 17:10:55 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-19 17:10:55 +0000 |
commit | 692e6e7330d9a6fd0227f74c1665ddc0b19cc4c6 (patch) | |
tree | 6eb9bb4b085cbf80b3f038d9cb07edde4220774c /Source/SPAlertSheets.h | |
parent | 8915074c6393bdc5cbaa7900299122f0d4e365be (diff) | |
download | sequelpro-692e6e7330d9a6fd0227f74c1665ddc0b19cc4c6.tar.gz sequelpro-692e6e7330d9a6fd0227f74c1665ddc0b19cc4c6.tar.bz2 sequelpro-692e6e7330d9a6fd0227f74c1665ddc0b19cc4c6.zip |
• added SPBeginWaitingAlertSheet() routine which offers the chance to display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable
• applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
Diffstat (limited to 'Source/SPAlertSheets.h')
-rw-r--r-- | Source/SPAlertSheets.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/SPAlertSheets.h b/Source/SPAlertSheets.h index d0f64f5b..eb5f5760 100644 --- a/Source/SPAlertSheets.h +++ b/Source/SPAlertSheets.h @@ -33,3 +33,18 @@ void SPBeginAlertSheet( void *contextInfo, NSString *msg ); + +void SPBeginWaitingAlertSheet( + NSString *title, + NSString *defaultButton, + NSString *alternateButton, + NSString *otherButton, +NSAlertStyle alertStyle, + NSWindow *docWindow, + id modalDelegate, + SEL didEndSelector, + void *contextInfo, + NSString *msg, + NSString *infoText, + NSInteger *returnCode +); |