source: trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.h @ 67

Last change on this file since 67 was 66, checked in by Nicholas Riley, 17 years ago

Initial import.

File size: 1008 bytes
Line 
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
15extern const long ICCF_MAX_URL_LEN;
16extern BOOL ICCF_enabled;
17
18// functions shared between implementations
19NSString *ICCF_ErrString(OSStatus err, NSString *context);
20void ICCF_HandleException(NSException *e);
21BOOL ICCF_EventIsCommandMouseDown(NSEvent *e);
22void ICCF_CheckRange(NSRange range);
23void ICCF_Delimiters(NSCharacterSet **leftPtr, NSCharacterSet **rightPtr);
24void ICCF_StartIC();
25void ICCF_StopIC();
26void ICCF_ParseURL(NSString *string, NSRange *range);
27void ICCF_LaunchURL(NSString *string);
28void ICCF_LaunchURLFromTextView(NSTextView *self);
29NSMenu *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.