2012-03-04 15:31:26 +01:00
|
|
|
//
|
2013-04-24 21:23:53 -04:00
|
|
|
// MPMacAppDelegate.h
|
2012-03-04 15:31:26 +01:00
|
|
|
// MasterPassword
|
|
|
|
//
|
|
|
|
// Created by Maarten Billemont on 04/03/12.
|
|
|
|
// Copyright (c) 2012 Lyndir. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2012-05-13 10:24:19 +02:00
|
|
|
#import "MPAppDelegate_Shared.h"
|
2012-03-05 22:19:05 +01:00
|
|
|
#import "MPPasswordWindowController.h"
|
2013-06-04 00:56:19 -04:00
|
|
|
#import "RHStatusItemView.h"
|
2012-03-04 15:31:26 +01:00
|
|
|
|
2013-04-24 21:23:53 -04:00
|
|
|
@interface MPMacAppDelegate : MPAppDelegate_Shared<NSApplicationDelegate>
|
2012-03-04 15:31:26 +01:00
|
|
|
|
2013-06-04 00:56:19 -04:00
|
|
|
@property(nonatomic, strong) RHStatusItemView *statusView;
|
2013-04-20 14:11:19 -04:00
|
|
|
@property(nonatomic, strong) MPPasswordWindowController *passwordWindow;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *lockItem;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *showItem;
|
|
|
|
@property(nonatomic, strong) IBOutlet NSMenu *statusMenu;
|
2013-06-08 18:12:49 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *useCloudItem;
|
2013-04-20 14:11:19 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *rememberPasswordItem;
|
2013-06-08 18:12:49 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *openAtLoginItem;
|
2013-04-20 14:11:19 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *savePasswordItem;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *createUserItem;
|
2014-06-07 20:13:53 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *deleteUserItem;
|
2013-04-20 14:11:19 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *usersItem;
|
2013-04-24 00:25:51 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *dialogStyleRegular;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSMenuItem *dialogStyleHUD;
|
2013-06-08 18:12:49 -04:00
|
|
|
@property(nonatomic, weak) IBOutlet NSButton *openAtLoginButton;
|
|
|
|
@property(nonatomic, weak) IBOutlet NSButton *enableCloudButton;
|
2012-05-13 10:24:19 +02:00
|
|
|
|
2013-05-16 00:19:50 -04:00
|
|
|
- (IBAction)showPasswordWindow:(id)sender;
|
2013-06-08 18:12:49 -04:00
|
|
|
- (IBAction)togglePreference:(id)sender;
|
2012-10-30 22:54:34 -04:00
|
|
|
- (IBAction)newUser:(NSMenuItem *)sender;
|
2013-01-26 22:05:57 -05:00
|
|
|
- (IBAction)lock:(id)sender;
|
2013-05-10 11:13:55 -04:00
|
|
|
- (IBAction)rebuildCloud:(id)sender;
|
2014-02-22 18:27:14 -05:00
|
|
|
- (IBAction)corruptCloud:(id)sender;
|
2013-05-19 16:55:43 -04:00
|
|
|
- (IBAction)terminate:(id)sender;
|
|
|
|
- (IBAction)iphoneAppStore:(id)sender;
|
2012-03-06 01:04:19 +01:00
|
|
|
|
2012-03-04 15:31:26 +01:00
|
|
|
@end
|