home *** CD-ROM | disk | FTP | other *** search
-
- #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
-