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

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

ICeCoffEEAction.c: Replace undocumented _LSCopyApplicationURLsForItemURL
with LSCopyApplicationURLsForURL, which was introduced in 10.3.

ICFindFilesToRemove/UICookieMonster.m: Fix some minor bugs revealed by
new compiler warnings in Apple's GCC 4.0.

ICeCoffEETextEdit.c: Pass an unsigned long instead of a SInt32 to
Delay(), as intended (another GCC 4.0 nit-pick).

English.lproj/InfoPlist.strings: Update version number.

ICeCoffEEShared.h: Enable debugging.

ICeCoffEE APE.xcode: Changes for Xcode 2.0.

ICeCoffEE.m: Casts to satisfy GCC 4.0.

APEMain.m: Fix CFStringCompare third argument: options, not a pointer.
Yet another dumb coding mistake pointed out courtesy of GCC 4.0.

File size: 1.7 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 (void)
22#define ICapeprintf (void)
23#endif
24
25extern const OSType kICCFCreator;
26
27extern const CFStringRef kICBundleIdentifier;
28
29// ICeCoffEE 1.1/1.2 CFPreferences
30extern const CFStringRef kIC12PrefExcluded;
31extern const CFStringRef kIC12PrefExcludedAppSpecifierBundleID;
32
33// CFPreferences
34extern const CFStringRef kICLastLoadedVersion; // CFString
35extern const CFStringRef kICCommandClickEnabled; // CFNumber (Boolean)
36extern const CFStringRef kICTextBlinkEnabled; // CFNumber (Boolean)
37extern const CFStringRef kICTextBlinkCount; // CFNumber (int)
38extern const CFStringRef kICServicesInContextualMenu; // CFNumber (Boolean)
39extern const CFStringRef kICServicesInMenuBar; // CFNumber (Boolean)
40extern const CFStringRef kICServiceOptions; // CFDictionary
41extern const CFStringRef kICTerminalRequireOptionForSelfDrag; // CFNumber (Boolean)
42extern const CFStringRef kICErrorSoundEnabled; // CFNumber (Boolean)
43extern const CFStringRef kICErrorDialogEnabled; // CFNumber (Boolean)
44
45// kICServiceOptions dictionary keys
46extern const CFStringRef kICServiceHidden; // CFNumber (Boolean)
47extern const CFStringRef kICServiceShortcut; // reserved for future use
48extern const CFStringRef kICServiceSubmenu; // CFDictionary
49
50// APEBundleMessages
51extern const CFStringRef kICPreferencesChanged;
52
53// UI constants
54extern const int kICHysteresisPixels;
55extern const int kICBlinkDelayUsecs;
56
57#endif /* _H_ICeCoffEEShared */
Note: See TracBrowser for help on using the repository browser.