X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=SessionController.h;fp=MyDocument.h;h=178ecfe1ca882bf0a2b3430d84c0fd8886dabbbd;hp=352874ece5737f86aec581ced94b725f2602ff01;hb=e8d51183acdd2410a38dcf8f0efbf7c30cd6c581;hpb=fcdfb47212ad3d7f8ec8ae115ccf4f30b7ace383 diff --git a/MyDocument.h b/SessionController.h similarity index 91% rename from MyDocument.h rename to SessionController.h index 352874e..178ecfe 100644 --- a/MyDocument.h +++ b/SessionController.h @@ -2,13 +2,14 @@ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Project: The Cheat // -// File: MyDocument.h +// File: SessionController.h // Created: Sun Sep 07 2003 // // Copyright: 2003 Chaz McGarvey. All rights reserved. // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #import +#import #include @@ -21,7 +22,7 @@ #include "cheat_net.h" -@interface MyDocument : NSDocument < ClientDelegate > +@interface SessionController : NSWindowController < ClientDelegate > { // allows for easy interface updating TCstatus status, lastStatus; @@ -43,7 +44,7 @@ TCaddress *searchResults; int searchResultsAmount; - int maxSearchResultsAmount; + int searchResultsAmountDisplayed; // to allow for connecting on new document BOOL everConnected; @@ -74,7 +75,7 @@ IBOutlet NSButton *clearSearchButton; IBOutlet NSButton *changeButton; IBOutlet NSTableView *addressTable; - IBOutlet NSTextField *statusText; + IBOutlet CMStatusView *statusText; IBOutlet NSProgressIndicator *statusBar; IBOutlet NSTextField *descriptionText; @@ -112,11 +113,11 @@ - (void)setStatusChangingContinuously; - (void)setStatusUndoing; - (void)setStatusRedoing; -- (void)setStatusToLast; +//- (void)setStatusToLast; -- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds; -- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds color:(NSColor *)color; -- (void)statusTextTimer:(NSTimer *)timer; +//- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds; +//- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds color:(NSColor *)color; +//- (void)statusTextTimer:(NSTimer *)timer; // UPDATE CHANGE SHEET