source: trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEShared.h@ 185

Last change on this file since 185 was 183, checked in by Nicholas Riley, 18 years ago

ICeCoffEE 1.4.2b1

VERSION, ui.plist, Info*.plist, InfoPlist.strings: Updated for 1.4.2b1.

APEMain.m: Removed PBX support.

ICeCoffEE.[hm]: Don't ICCF_OSErr(C)Assert if we get userCanceledErr:
part of fixing extraneous exception when not selecting anything from
the helper app menu. ICCF_KeyboardAction() and
ICCF_LaunchURLFromTextView() now take an event parameter - since we
have stuff on a timer now, means we get the key modifier state at
mousedown time, rather than some arbitrary time later.
ICCF_LaunchURL() returns NO if the user cancelled, so we don't need to
throw an exception to stop the URL blinking. Moved sanitized mouse
down event generation to ICCF_MouseDownEventWithModifierFlags(). Only
update Services menu at app launch on Panther. Use a timer to delay
URL launching in NSTextView on Tiger, so we accommodate
command-multiple clicking for discontiguous selection. Remove that
ugly goto.

ICeCoffEEShared.h: Turn off debugging in preparation for (beta)

ICeCoffEETerminal.m: Update for new ICCF_LaunchURL() return.

ICeCoffEETrigger.[hm]: Singleton timer wrapper for discontiguous
selection compatibility on Tiger. Singleton global is exported for
efficiency since we have to check it on every mouse down.

ICeCoffEEWebKit.m: Removed incorrect comment (what was I thinking?)
Update for new ICCF_LaunchURL() return. Properly highlight before
ICCF_LaunchURL(), especially noticable with menu.

APEInfo.rtfd: More fixes and updates, final for 1.4.2b1.

File size: 1.8 KB
2 * ICeCoffEEShared.h
3 * ICeCoffEE APE
4 *
5 * Created by Nicholas Riley on Mon Jan 20 2003.
6 * Copyright (c) 2003 Nicholas Riley. All rights reserved.
7 *
8 */
10#ifndef _H_ICeCoffEEShared
11#define _H_ICeCoffEEShared
13#include <CoreFoundation/CoreFoundation.h>
15#define ICCF_DEBUG 0
18#define ICLog NSLog
19#define ICapeprintf apeprintf
21#define ICLog (void)
22#define ICapeprintf (void)
25// we compile against the 10.3.9 SDK, so this isn't defined yet
26#define NSAppKitVersionNumber10_3 743
28extern const OSType kICCFCreator;
30extern const CFStringRef kICBundleIdentifier;
32// ICeCoffEE 1.1/1.2 CFPreferences
33extern const CFStringRef kIC12PrefExcluded;
34extern const CFStringRef kIC12PrefExcludedAppSpecifierBundleID;
36// CFPreferences
37extern const CFStringRef kICLastLoadedVersion; // CFString
38extern const CFStringRef kICCommandClickEnabled; // CFNumber (Boolean)
39extern const CFStringRef kICTextBlinkEnabled; // CFNumber (Boolean)
40extern const CFStringRef kICTextBlinkCount; // CFNumber (int)
41extern const CFStringRef kICServicesInContextualMenu; // CFNumber (Boolean)
42extern const CFStringRef kICServicesInMenuBar; // CFNumber (Boolean)
43extern const CFStringRef kICServiceOptions; // CFDictionary
44extern const CFStringRef kICTerminalRequireOptionForSelfDrag; // CFNumber (Boolean)
45extern const CFStringRef kICErrorSoundEnabled; // CFNumber (Boolean)
46extern const CFStringRef kICErrorDialogEnabled; // CFNumber (Boolean)
48// kICServiceOptions dictionary keys
49extern const CFStringRef kICServiceHidden; // CFNumber (Boolean)
50extern const CFStringRef kICServiceShortcut; // reserved for future use
51extern const CFStringRef kICServiceSubmenu; // CFDictionary
53// APEBundleMessages
54extern const CFStringRef kICPreferencesChanged;
56// UI constants
57extern const int kICHysteresisPixels;
58extern const int kICBlinkDelayUsecs;
60#endif /* _H_ICeCoffEEShared */
Note: See TracBrowser for help on using the repository browser.