]> Dogcows Code - chaz/thecheat/blob - CheatListener.h
The Cheat 1.1.1
[chaz/thecheat] / CheatListener.h
1
2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 // Project: The Cheat
4 //
5 // File: CheatListener.h
6 // Created: Wed Sep 24 2003
7 //
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11 #import <Cocoa/Cocoa.h>
12
13 #import "ListenerDelegate.h"
14
15 #include "cheat_globals.h"
16 #include "cheat_net.h"
17
18 #include "stdio.h"
19
20 @class CheatServer;
21
22
23 @interface CheatListener : NSObject
24 {
25 id rootProxy;
26 int sockfd;
27
28 BOOL listenRemote;
29 }
30
31 + (NSConnection *)listenerWithDelegate:(id)del port:(int)port remote:(BOOL)remote;
32 + (void)listenerThread:(NSArray *)array;
33
34 - (id)initWithRootProxy:(id)proxy;
35
36 - (void)listenOnPort:(int)port remote:(BOOL)remote;
37 - (void)run;
38 - (void)cleanup;
39
40 @end
This page took 0.029053 seconds and 4 git commands to generate.