X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=NetTrafficController.h;fp=NetTrafficController.h;h=092ffafe76114a7485a4aa39989da6856cde81a0;hp=0000000000000000000000000000000000000000;hb=42cf7bbe564d70233a0d73baee613f209eb00eb6;hpb=2d60a59a8ad195dd0af8f90c8d5b74a69ce7f4fa diff --git a/NetTrafficController.h b/NetTrafficController.h new file mode 100644 index 0000000..092ffaf --- /dev/null +++ b/NetTrafficController.h @@ -0,0 +1,45 @@ + +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// Project: The Cheat +// +// File: NetTrafficController.h +// Created: Wed Sep 24 2003 +// +// Copyright: 2003 Chaz McGarvey. All rights reserved. +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +#import + +#import "NetTrafficControlling.h" + +#include "cheat_globals.h" + + +@interface NetTrafficController : NSWindowController +{ + id delegate; + + IBOutlet id netTrafficWindow; + IBOutlet id broadcastNameText; + IBOutlet id listenPortText; + IBOutlet id serverListTable; + IBOutlet id connectionCountText; + IBOutlet id killConnectionButton; +} + +- (id)initWithDelegate:(id)del; + +- (void)initialInterfaceSetup; +- (void)interfaceUpdate; + +- (void)allowRemoteChanged:(BOOL)allow; +- (void)listenPortChanged:(int)port; +- (void)broadcastNameChanged:(NSString *)name; + +- (void)connectionListChanged; + +- (void)setConnectionCount:(int)count; + +- (IBAction)killConnectionButton:(id)sender; + +@end \ No newline at end of file