2014-06-22 01:56:28 +00:00
|
|
|
/**
|
2014-06-26 05:19:42 +00: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-22 01:56:28 +00:00
|
|
|
|
2012-03-05 08:53:32 +00:00
|
|
|
//
|
|
|
|
// MPPasswordWindowController.h
|
2014-06-22 01:56:28 +00:00
|
|
|
// MPPasswordWindowController
|
2012-03-05 08:53:32 +00:00
|
|
|
//
|
2014-06-22 01:56:28 +00:00
|
|
|
// Created by lhunath on 2014-06-18.
|
|
|
|
// Copyright, lhunath (Maarten Billemont) 2014. All rights reserved.
|
2012-03-05 08:53:32 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2014-09-21 15:47:53 +00:00
|
|
|
#import "MPSiteModel.h"
|
|
|
|
#import "MPSitesTableView.h"
|
2016-04-17 23:30:06 +00:00
|
|
|
#import "MPPasswordWindow.h"
|
2012-03-05 08:53:32 +00:00
|
|
|
|
2014-06-30 03:18:25 +00:00
|
|
|
@class MPMacAppDelegate;
|
|
|
|
|
2014-06-24 04:55:08 +00:00
|
|
|
@interface MPPasswordWindowController : NSWindowController<NSTextViewDelegate, NSTextFieldDelegate, NSTableViewDataSource, NSTableViewDelegate>
|
2012-05-04 22:15:51 +00:00
|
|
|
|
2014-09-21 15:47:53 +00:00
|
|
|
@property(nonatomic) NSMutableArray *sites;
|
2014-06-30 03:18:25 +00:00
|
|
|
@property(nonatomic) NSString *masterPassword;
|
2015-09-23 04:31:33 +00:00
|
|
|
@property(nonatomic) BOOL showVersionContainer;
|
2014-06-27 03:13:21 +00:00
|
|
|
@property(nonatomic) BOOL alternatePressed;
|
2016-02-21 02:56:04 +00:00
|
|
|
@property(nonatomic) BOOL shiftPressed;
|
2014-06-30 03:18:25 +00:00
|
|
|
@property(nonatomic) BOOL locked;
|
2014-07-19 02:04:10 +00:00
|
|
|
@property(nonatomic) BOOL newUser;
|
2014-06-24 04:55:08 +00:00
|
|
|
|
2014-09-21 15:47:53 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSArrayController *sitesController;
|
2014-06-24 04:55:08 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *inputLabel;
|
2014-06-30 03:18:25 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securePasswordField;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *revealPasswordField;
|
2015-11-05 04:53:46 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *sitePasswordTipField;
|
2014-06-22 01:56:28 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSSearchField *siteField;
|
2014-09-21 15:47:53 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet MPSitesTableView *siteTable;
|
2014-06-24 04:55:08 +00:00
|
|
|
@property(nonatomic, weak) IBOutlet NSProgressIndicator *progressView;
|
2014-06-26 05:19:42 +00:00
|
|
|
|
|
|
|
@property(nonatomic, strong) IBOutlet NSBox *passwordTypesBox;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMatrix *passwordTypesMatrix;
|
2014-03-01 01:44:29 +00:00
|
|
|
|
2016-04-23 18:07:08 +00:00
|
|
|
@property(nonatomic, strong) IBOutlet NSBox *securityQuestionsBox;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securityQuestionField;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSTextField *securityAnswerField;
|
|
|
|
|
2014-07-01 01:00:25 +00:00
|
|
|
- (BOOL)handleCommand:(SEL)commandSelector;
|
|
|
|
|
2012-03-05 08:53:32 +00:00
|
|
|
@end
|