// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Project: The Cheat // // File: cheat_globals.h // Created: Fri Sep 19 2003 // // Copyright: 2003 Chaz McGarvey. All rights reserved. // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #ifndef _cheat_globals_H #define _cheat_globals_H #import #define TCDefaultListenPort (5007) //#define TCDefaultListenPath "/tmp/com.brokenzipper.TheCheat" // this path alone would work, but it *should* go in the user's home directory char extern TCDefaultListenPath[104]; #define TCMaxSearchResults (100000) int extern TCGlobalDocumentCount; int extern TCGlobalAlternateBroadcastNameCount; char extern TCGlobalListening; char extern TCGlobalPlaySounds; char extern TCGlobalWindowsOnTop; char extern TCGlobalAllowRemote; int extern TCGlobalListenPort; #define TCGlobalBroadcastName ([[NSUserDefaults standardUserDefaults] objectForKey:TCBroadcastNamePref]) NSString extern *TCPlaySoundsPref; NSString extern *TCWindowsOnTopPref; NSString extern *TCAllowRemotePref; NSString extern *TCListenPortPref; NSString extern *TCBroadcastNamePref; #endif