|
|
Sample Programs from NeXSTEP 3.3
#import <objc/Object.h>
#import "Thinker.h"
#define LEN (40)
@interface Password:Object
{
id infoText;
id contentBox;
id window;
id clearText;
char password[LEN];
char attempt1[LEN];
char attempt2[LEN];
BOOL lockEnabled;
BStimeval lastPasswordTime;
}
void safe_strcpy(char *to, const char *from);
- setPassword:sender;
- attemptToSetPassword:(const char *)text;
- userTypedReturn:sender;
- (BOOL) checkPassword:(const char *)text randomPos:(BOOL)random
checkLock:(BOOL)check withView:aView;
- orderWindowToFront;
- randomWindowPosition;
- createWindow;
- activePauseWithView:aView;
- setLock:(BOOL)flag;
- (BOOL) isLocked;
- (BOOL) validPassword;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.