]> Dogcows Code - chaz/thecheat/blobdiff - ServerHolder.h
The Cheat 1.0b3
[chaz/thecheat] / ServerHolder.h
diff --git a/ServerHolder.h b/ServerHolder.h
new file mode 100644 (file)
index 0000000..e0342ad
--- /dev/null
@@ -0,0 +1,42 @@
+
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+// Project:   The Cheat
+//
+// File:      ServerHolder.h
+// Created:   Sun Sep 28 2003
+//
+// Copyright: 2003 Chaz McGarvey.  All rights reserved.
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+#import <Cocoa/Cocoa.h>
+
+
+@class CheatServer;
+
+
+@interface ServerHolder : NSObject
+{
+       NSConnection            *connection;
+       CheatServer                     *server;
+       int                                     sockfd;
+
+       NSString                        *address;
+       NSString                        *action;
+}
+
++ (ServerHolder *)holderWithConnection:(NSConnection *)conn socket:(int)sock;
+- (id)initWithConnection:(NSConnection *)conn socket:(int)sock;
+
+- (NSConnection *)connection;
+- (void)setConnection:(NSConnection *)conn;
+- (CheatServer *)server;
+- (void)setServer:(CheatServer *)serv;
+- (int)sockfd;
+- (void)setSockFD:(int)sock;
+
+- (NSString *)address;
+- (void)setAddress:(NSString *)addr;
+- (NSString *)action;
+- (void)setAction:(NSString *)act;
+
+@end
\ No newline at end of file
This page took 0.018039 seconds and 4 git commands to generate.