Rev | Line | |
---|
[66] | 1 | /* ICeCoffEE */
|
---|
| 2 |
|
---|
| 3 | #import "ICeCoffEESuper.h"
|
---|
| 4 | #import "ICeCoffEEShared.h"
|
---|
| 5 |
|
---|
| 6 | #if ICCF_DEBUG
|
---|
| 7 | #define ICLog NSLog
|
---|
| 8 | #else
|
---|
| 9 | #define ICLog (void)
|
---|
| 10 | #endif
|
---|
| 11 |
|
---|
| 12 | #define ICCF_OSErrAssert(err, context) NSAssert(err == noErr, ICCF_ErrString(err, context));
|
---|
| 13 | #define ICCF_OSErrCAssert(err, context) NSCAssert(err == noErr, ICCF_ErrString(err, context));
|
---|
| 14 |
|
---|
| 15 | extern const long ICCF_MAX_URL_LEN;
|
---|
| 16 | extern BOOL ICCF_enabled;
|
---|
| 17 |
|
---|
| 18 | // functions shared between implementations
|
---|
| 19 | NSString *ICCF_ErrString(OSStatus err, NSString *context);
|
---|
| 20 | void ICCF_HandleException(NSException *e);
|
---|
| 21 | BOOL ICCF_EventIsCommandMouseDown(NSEvent *e);
|
---|
| 22 | void ICCF_CheckRange(NSRange range);
|
---|
| 23 | void ICCF_Delimiters(NSCharacterSet **leftPtr, NSCharacterSet **rightPtr);
|
---|
| 24 | void ICCF_StartIC();
|
---|
| 25 | void ICCF_StopIC();
|
---|
| 26 | void ICCF_ParseURL(NSString *string, NSRange *range);
|
---|
| 27 | void ICCF_LaunchURL(NSString *string);
|
---|
| 28 | void ICCF_LaunchURLFromTextView(NSTextView *self);
|
---|
| 29 | NSMenu *ICCF_MenuForEvent(NSTextView *self, NSMenu *contextMenu, NSEvent *e);
|
---|
| 30 |
|
---|
| 31 | @interface ICeCoffEE : ICeCoffEESuper
|
---|
| 32 |
|
---|
| 33 | @end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.