]> Dogcows Code - chaz/thecheat/blobdiff - CheatListener.h
The Cheat 1.0b3
[chaz/thecheat] / CheatListener.h
diff --git a/CheatListener.h b/CheatListener.h
new file mode 100644 (file)
index 0000000..78b4bed
--- /dev/null
@@ -0,0 +1,40 @@
+
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// Project:   The Cheat
+//
+// File:      CheatListener.h
+// Created:   Wed Sep 24 2003
+//
+// Copyright: 2003 Chaz McGarvey.  All rights reserved.
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+#import <Cocoa/Cocoa.h>
+
+#import "ListenerDelegate.h"
+
+#include "cheat_globals.h"
+#include "cheat_net.h"
+
+#include "stdio.h"
+
+@class CheatServer;
+
+
+@interface CheatListener : NSObject
+{
+       id                              rootProxy;
+       int                             sockfd;
+
+       BOOL                    listenRemote;
+}
+
++ (NSConnection *)listenerWithDelegate:(id)del port:(int)port remote:(BOOL)remote;
++ (void)listenerThread:(NSArray *)array;
+
+- (id)initWithRootProxy:(id)proxy;
+
+- (void)listenOnPort:(int)port remote:(BOOL)remote;
+- (void)run;
+- (void)cleanup;
+
+@end
\ No newline at end of file
This page took 0.016188 seconds and 4 git commands to generate.