Changeset 183 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.h
- Timestamp:
- 05/14/05 20:11:04 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.h
r167 r183 5 5 #import "ICeCoffEEConfig.h" 6 6 7 #define ICCF_OSErrAssert(err, context) NSAssert(err == noErr , ICCF_ErrString(err, context));8 #define ICCF_OSErrCAssert(err, context) NSCAssert(err == noErr , ICCF_ErrString(err, context));7 #define ICCF_OSErrAssert(err, context) NSAssert(err == noErr || err == userCanceledErr, ICCF_ErrString(err, context)); 8 #define ICCF_OSErrCAssert(err, context) NSCAssert(err == noErr || err == userCanceledErr, ICCF_ErrString(err, context)); 9 9 10 10 // search for: (?<!ICCF_LocalizedString\()(?<!ICLog\()(?<!ICapeprintf("\()(?<!%)(@"(?!Internal error: )[^"]+") replace with: ICCF_LocalizedString(\1) … … 23 23 BOOL ICCF_EventIsCommandMouseDown(NSEvent *e); 24 24 25 // returns the action determined by the current state ofkeyboard modifiers26 iccfURLAction ICCF_KeyboardAction( );25 // returns the action determined by the event's keyboard modifiers 26 iccfURLAction ICCF_KeyboardAction(NSEvent *e); 27 27 28 28 // throws an exception if the URL range is nonexistent or too big … … 42 42 43 43 // calls ICCF_DoURLAction 44 void ICCF_LaunchURL(NSString *string, iccfURLAction action); 44 // returns YES unless the user cancelled 45 BOOL ICCF_LaunchURL(NSString *string, iccfURLAction action); 45 46 46 47 // launch URL from on selected text view cursor position or selection 47 void ICCF_LaunchURLFromTextView(NSTextView *self );48 void ICCF_LaunchURLFromTextView(NSTextView *self, NSEvent *triggeringEvent); 48 49 49 50 // returns contextual menu with Services item added, if selected
Note:
See TracChangeset
for help on using the changeset viewer.