|
|
1.1 ! root 1: ! 2: #import <objc/Object.h> ! 3: #import "Thinker.h" ! 4: ! 5: #define LEN (40) ! 6: ! 7: @interface Password:Object ! 8: { ! 9: id infoText; ! 10: id contentBox; ! 11: id window; ! 12: id clearText; ! 13: char password[LEN]; ! 14: char attempt1[LEN]; ! 15: char attempt2[LEN]; ! 16: BOOL lockEnabled; ! 17: BStimeval lastPasswordTime; ! 18: } ! 19: ! 20: void safe_strcpy(char *to, const char *from); ! 21: ! 22: - setPassword:sender; ! 23: - attemptToSetPassword:(const char *)text; ! 24: - userTypedReturn:sender; ! 25: - (BOOL) checkPassword:(const char *)text randomPos:(BOOL)random ! 26: checkLock:(BOOL)check withView:aView; ! 27: - orderWindowToFront; ! 28: - randomWindowPosition; ! 29: - createWindow; ! 30: - activePauseWithView:aView; ! 31: - setLock:(BOOL)flag; ! 32: - (BOOL) isLocked; ! 33: - (BOOL) validPassword; ! 34: ! 35: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.