This is Password.h in view mode; [Download] [Up]
#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
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.