2014-06-21 21:56:28 -04:00
|
|
|
/**
|
2014-06-26 01:19:42 -04:00
|
|
|
* Copyright Maarten Billemont (http://www.lhunath.com, lhunath@lyndir.com)
|
|
|
|
*
|
|
|
|
* See the enclosed file LICENSE for license information (LGPLv3). If you did
|
|
|
|
* not receive this file, see http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
|
|
*
|
|
|
|
* @author Maarten Billemont <lhunath@lyndir.com>
|
|
|
|
* @license http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
|
|
*/
|
2014-06-21 21:56:28 -04:00
|
|
|
|
2012-03-05 09:53:32 +01:00
|
|
|
//
|
|
|
|
// MPPasswordWindowController.h
|
2014-06-21 21:56:28 -04:00
|
|
|
// MPPasswordWindowController
|
2012-03-05 09:53:32 +01:00
|
|
|
//
|
2014-06-21 21:56:28 -04:00
|
|
|
// Created by lhunath on 2014-06-18.
|
|
|
|
// Copyright, lhunath (Maarten Billemont) 2014. All rights reserved.
|
2012-03-05 09:53:32 +01:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2014-09-21 11:47:53 -04:00
|
|
|
#import "MPSiteModel.h"
|
|
|
|
#import "MPSitesTableView.h"
|
2016-04-17 19:30:06 -04:00
|
|
|
#import "MPPasswordWindow.h"
|
2012-03-05 09:53:32 +01:00
|
|
|
|
2014-06-29 23:18:25 -04:00
|
|
|
@class MPMacAppDelegate;
|
|
|
|
|
2014-06-24 00:55:08 -04:00
|
|
|
@interface MPPasswordWindowController : NSWindowController<NSTextViewDelegate, NSTextFieldDelegate, NSTableViewDataSource, NSTableViewDelegate>
|
2012-05-05 00:15:51 +02:00
|
|
|
|
2014-09-21 11:47:53 -04:00
|
|
|
@property(nonatomic) NSMutableArray *sites;
|
2014-06-29 23:18:25 -04:00
|
|
|
@property(nonatomic) NSString *masterPassword;
|
2015-09-23 00:31:33 -04:00
|
|
|
@property(nonatomic) BOOL showVersionContainer;
|
2014-06-26 23:13:21 -04:00
|
|
|
@property(nonatomic) BOOL alternatePressed;
|
2016-02-20 21:56:04 -05:00
|
|
|
@property(nonatomic) BOOL shiftPressed;
|
2014-06-29 23:18:25 -04:00
|
|
|
@property(nonatomic) BOOL locked;
|
2014-07-18 22:04:10 -04:00
|
|
|
@property(nonatomic) BOOL newUser;
|
2014-06-24 00:55:08 -04:00
|
|
|
|
2014-09-21 11:47:53 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSArrayController *sitesController;
|
2014-06-24 00:55:08 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *inputLabel;
|
2014-06-29 23:18:25 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securePasswordField;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *revealPasswordField;
|
2015-11-04 23:53:46 -05:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *sitePasswordTipField;
|
2014-06-21 21:56:28 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSSearchField *siteField;
|
2014-09-21 11:47:53 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet MPSitesTableView *siteTable;
|
2014-06-24 00:55:08 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSProgressIndicator *progressView;
|
2014-06-26 01:19:42 -04:00
|
|
|
|
|
|
|
@property(nonatomic, strong) IBOutlet NSBox *passwordTypesBox;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMatrix *passwordTypesMatrix;
|
2014-02-28 20:44:29 -05:00
|
|
|
|
2016-04-23 14:07:08 -04:00
|
|
|
@property(nonatomic, strong) IBOutlet NSBox *securityQuestionsBox;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securityQuestionField;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securityAnswerField;
|
|
|
|
|
2014-06-30 21:00:25 -04:00
|
|
|
- (BOOL)handleCommand:(SEL)commandSelector;
|
|
|
|
|
2012-03-05 09:53:32 +01:00
|
|
|
@end
|