// // PLSLoginWindowController.h // Pulse // // Created by Matt Attaway on 2/19/14. // Copyright (c) 2014 Zen of the Monkey. All rights reserved. // #import <Cocoa/Cocoa.h> @class PLSOverseer; @interface PLSLoginController : NSWindowController @property (strong) PLSOverseer* os; @property (strong,nonatomic) IBOutlet NSTextField* header; @property (strong,nonatomic) IBOutlet NSSecureTextField* password; -(IBAction)login:(id)sender; -(IBAction)cancel:(id)sender; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8590 | Matt Attaway |
Add crude login capabilities This is the first step toward getting the login behavior I want. Right now anytime a Peforce command gets a login error the Overseer ion charge notifies its delegate, which is currently the AppDelegate. The AppDelegate then kicks off the requisite login dialog which gets the password and does the login. There’s no error handling or feedback and the dialog pops up even when it is a background process that hit the error. The next step is to implement the Login menu item and the ‘need login’ tool tip and status icon. User visible (and possibly user annoying) change |