2011-11-30 21:42:40 +00:00
|
|
|
//
|
|
|
|
// OPMainViewController.h
|
|
|
|
// OnePassword
|
|
|
|
//
|
|
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2012-01-05 00:44:15 +00:00
|
|
|
#import "OPTypeViewController.h"
|
|
|
|
#import "OPElementEntity.h"
|
|
|
|
#import "OPSearchDelegate.h"
|
2011-11-30 21:42:40 +00:00
|
|
|
|
2012-01-16 08:51:08 +00:00
|
|
|
@interface OPMainViewController : UIViewController <OPTypeDelegate, UITextFieldDelegate, UISearchBarDelegate, OPSearchResultsDelegate>
|
2012-01-05 00:44:15 +00:00
|
|
|
|
|
|
|
@property (strong, nonatomic) OPElementEntity *activeElement;
|
|
|
|
@property (strong, nonatomic) IBOutlet OPSearchDelegate *searchResultsController;
|
|
|
|
@property (weak, nonatomic) IBOutlet UITextField *contentField;
|
2012-01-16 08:51:08 +00:00
|
|
|
@property (weak, nonatomic) IBOutlet UIButton *typeButton;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIWebView *helpView;
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *siteName;
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *passwordCounter;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIButton *passwordIncrementer;
|
2012-01-19 16:40:39 +00:00
|
|
|
@property (weak, nonatomic) IBOutlet UIButton *passwordEdit;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIView *contentContainer;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIView *helpContainer;
|
2012-01-24 23:30:43 +00:00
|
|
|
@property (weak, nonatomic) IBOutlet UIView *contentTipContainer;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIView *alertContainer;
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *alertTitle;
|
|
|
|
@property (weak, nonatomic) IBOutlet UITextView *alertBody;
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *contentTipBody;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *contentTipEditIcon;
|
|
|
|
@property (weak, nonatomic) IBOutlet UIView *searchTipContainer;
|
2012-01-05 00:44:15 +00:00
|
|
|
|
2012-01-19 16:40:39 +00:00
|
|
|
- (IBAction)copyContent;
|
|
|
|
- (IBAction)incrementPasswordCounter;
|
|
|
|
- (IBAction)editPassword;
|
|
|
|
- (IBAction)toggleHelp;
|
|
|
|
- (void)toggleHelp:(BOOL)hidden;
|
2012-01-24 23:30:43 +00:00
|
|
|
- (IBAction)closeAlert;
|
2011-11-30 21:42:40 +00:00
|
|
|
|
|
|
|
@end
|