X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=MyDocument.h;h=352874ece5737f86aec581ced94b725f2602ff01;hb=fcdfb47212ad3d7f8ec8ae115ccf4f30b7ace383;hp=1e928e0176265af5c1bea088442b623bb0a3837e;hpb=42cf7bbe564d70233a0d73baee613f209eb00eb6;p=chaz%2Fthecheat diff --git a/MyDocument.h b/MyDocument.h index 1e928e0..352874e 100644 --- a/MyDocument.h +++ b/MyDocument.h @@ -32,19 +32,18 @@ NSData *connectionAddress; NSString *connectionName; int sockfd; - NSNetServiceBrowser *browser; // for updating the interface NSString *targetName; int targetPID; BOOL targetPaused; - // list of broadcast servers - NSMutableArray *serverList; + NSArray *serverList; NSMutableArray *addressList; TCaddress *searchResults; int searchResultsAmount; + int maxSearchResultsAmount; // to allow for connecting on new document BOOL everConnected; @@ -60,6 +59,7 @@ // for changing variables every x seconds NSTimer *changeTimer; + NSArray *changeSelectedItems; // INTERFACE OUTLETS IBOutlet NSWindow *cheatWindow; @@ -76,6 +76,7 @@ IBOutlet NSTableView *addressTable; IBOutlet NSTextField *statusText; IBOutlet NSProgressIndicator *statusBar; + IBOutlet NSTextField *descriptionText; IBOutlet NSMenu *serverMenu; IBOutlet NSMenu *processMenu; @@ -100,6 +101,7 @@ - (void)updatePauseButton; - (void)updateSearchBoxes; - (void)updateChangeButton; +- (void)updateDescriptionText; - (void)setStatusDisconnected; - (void)setStatusConnected; @@ -160,6 +162,7 @@ // CHEAT WINDOW INTERFACE - (IBAction)typePopup:(id)sender; +- (IBAction)sizePopup:(id)sender; - (IBAction)searchButton:(id)sender; - (IBAction)clearSearchButton:(id)sender;