// // WaitingForPasswordController.m // DistributedObjectsTest // // Created by Hamish Allan on 08/07/2008. // Copyright 2008 Hamish Allan. All rights reserved. // #import "WaitingForPasswordController.h" #import "AsyncAskPassClient.h" #import "AsyncAskPassServer.h" @implementation WaitingForPasswordController - (void)_sendResponse:(NSString *)response { [[proxy answerTarget] setAnswerText:response]; } - (IBAction)ok:(id)sender { [self _sendResponse:[passwordField stringValue]]; } - (IBAction)cancel:(id)sender { [self _sendResponse:nil]; } @end