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

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

VERSION: Starting with 1.5d1.

ICeCoffEEKeyEquivalents.m: Support "collision font" for displaying key
equivalent conflicts.

ICeCoffEE.m: Increase debug ICCF_MAX_URL_LEN to 120 for testing. Set
icons in ICCF_ConsolidateServicesMenu (needs better caching).

ICeCoffEEServicePrefController.m: Display icons, proper key
equivalents (instead of #, what was I thinking?!) and conflicts. Fix
a dumb bug in ICCF_PropagateServiceStateChange. Ellipsize long menu
items rather than chopping them off. Fix key equivalent column
getting moved when expanding disclosure triangles.

ICeCoffEELabeledIconCell.[hm]: An IconRef-displaying text cell.

Info-APE Module.plist: Update version to 1.5d1.

ICeCoffEE.xcodeproj: Added files, no significant changes.

English.lproj/InfoPlist.strings: Update version to 1.5d1.

English.lproj/APEInfo.rtfd/TXT.rtf: Some overdue documentation
updates.

ICeCoffEEShared.[hm]: Enable debugging; we're now using
kICServiceShortcut (though not yet for customizable shortcuts) so
define its data type.

ICeCoffEETerminal.m: Remove some useless code to "extend to beginning
of string" which seems to have been stolen from the NSTextView
implementation and not well understood. Handle common uses of
parentheses in URLs; still need to do this for NSTextView.

ICeCoffEESetServicesMenu.[hm]: Needs renaming; now with icon
extraction functionality and semi-working code to create a service
info dictionary.

Info-APEManagerPrefPane.plist: Update version to 1.5d1.

File size: 1.9 KB
Line 
1/*
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 */
9
10#ifndef _H_ICeCoffEEShared
11#define _H_ICeCoffEEShared
12
13#include <CoreFoundation/CoreFoundation.h>
14
15#define ICCF_DEBUG 1
16
17#if ICCF_DEBUG
18#define ICLog NSLog
19#define ICapeprintf apeprintf
20#else
21#define ICLog(args...) ;
22#define ICapeprintf(args...) ;
23#endif
24
25// we compile against the 10.3.9 SDK, so this isn't defined yet
26#define NSAppKitVersionNumber10_3 743
27
28extern const OSType kICCFCreator;
29
30extern const CFStringRef kICBundleIdentifier;
31
32// ICeCoffEE 1.1/1.2 CFPreferences
33extern const CFStringRef kIC12PrefExcluded;
34extern const CFStringRef kIC12PrefExcludedAppSpecifierBundleID;
35
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)
47
48// kICServiceOptions, ServiceInfo dictionary keys
49extern const CFStringRef kICServiceHidden; // CFNumber (Boolean)
50extern const CFStringRef kICServiceShortcut; // CFString
51extern const CFStringRef kICServiceSubmenu; // CFDictionary
52extern const CFStringRef kICServiceBundlePath; // CFString
53
54// APEBundleMessages
55extern const CFStringRef kICPreferencesChanged;
56
57// UI constants
58extern const int kICHysteresisPixels;
59extern const int kICBlinkDelayUsecs;
60
61#endif /* _H_ICeCoffEEShared */
Note: See TracBrowser for help on using the repository browser.