home *** CD-ROM | disk | FTP | other *** search
-
- #import <appkit/appkit.h>
-
- #import "GrayCell.h"
-
- #define MAX_A_LEN 80
-
- @interface ServerCell:GrayCell
- {
- BOOL slowLink;
- BOOL openOnStartup;
- BOOL opened;
- char user[MAX_A_LEN];
- char pass[MAX_A_LEN];
- }
-
- - serverOpened:sender;
- - serverClosed:sender;
- - (BOOL)slowLink;
- - (BOOL)openOnStartup;
- - setSlowLink:(BOOL)v;
- - setOpenOnStartup:(BOOL)v;
- - setPasswdString:(const char*)v;
- - setUserString:(const char*)v;
-
- - (BOOL)isOpen;
- - (const char *)user;
- - (const char *)pass;
-
- - readServerOptions;
- - writeServerOptions;
-
- - drawInside:(const NXRect *)cellFrame inView:controlView;
- - highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)flag;
-
- @end
-