X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=ServerDelegate.h;fp=ServerDelegate.h;h=f9ee572f17e77ec3bb5ae7e0b265a0a1fc0e7162;hp=0000000000000000000000000000000000000000;hb=42cf7bbe564d70233a0d73baee613f209eb00eb6;hpb=2d60a59a8ad195dd0af8f90c8d5b74a69ce7f4fa diff --git a/ServerDelegate.h b/ServerDelegate.h new file mode 100644 index 0000000..f9ee572 --- /dev/null +++ b/ServerDelegate.h @@ -0,0 +1,29 @@ + +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// Project: The Cheat +// +// File: ServerDelegate.h +// Created: Thu Sep 25 2003 +// +// Copyright: 2003 Chaz McGarvey. All rights reserved. +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +#import + +#include + +@class CheatServer; + + +@protocol ServerDelegate + +- (void)server:(CheatServer *)server connectedWithSocket:(int)sock; +- (void)serverDisconnected:(CheatServer *)server; + +- (void)server:(CheatServer *)server changedAddress:(NSString *)address; +- (void)server:(CheatServer *)server changedAction:(NSString *)action; + +- (NSArray *)serverProcessList; +- (pid_t)serverFirstProcess; + +@end \ No newline at end of file