Abizern / bonsoir

A Cocoa / Objective-C application that uses the Bonjour service to share contact details between macs on the same network.

This URL has Read+Write access

bonsoir / Bonsoir_Prefix.pch
100644 20 lines (17 sloc) 0.542 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Prefix header for all source files of the 'Bonsoir' target in the 'Bonsoir' project
//
 
#ifdef __OBJC__
    #import <Cocoa/Cocoa.h>
#import <AddressBook/AddressBook.h>
#import "BonsoirProtocols.h"
#endif
 
#define BONSOIR_PORT_NUMBER 1984
/* GET IT? 1984! Mac! Humour! Gee golly Mr. Wilson, I'm witty */
#define BONSOIR_SERVICE @"_bonsoir._tcp"
/* _bonsoir._tcp is the zeroconf service name */
 
/*
 * Define our various notification strings
 */
#define OPEN_PREFS_NOTIF @"Launch Preferences"
#define FETCH_VCARD_NOTIF @"Fetch vCard"