Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (21 sloc) 0.633 kb
b8c3477 @rickfillion Import into GitHub
rickfillion authored
1 //
2 // ServerSwitchboard.h
3 // ServerSwitchboard
4 //
5 // Created by Chris Farber on 30/03/09.
6 // All code is provided under the New BSD license.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11 @interface ServerSwitchboard : NSObject {
12 CFMutableDictionaryRef connections;
13 CFMutableDictionaryRef connectionsData;
14 NSUserDefaults * defaults;
15 NSURL * apiURL;
16 }
17
18 + (NSString *)baseURL;
19 + switchboard;
20
21 // these methods are asynchronous and use a callback
22 // the callback follows this pattern:
23 // - (void) requestFinishedWithData: (NSDictionary *)info error: (NSError *)error
24
25 - (void) companiesWithTarget:(id)target selector: (SEL)sel;
26
27
28 @end
Something went wrong with that request. Please try again.