2012-03-04 15:31:26 +01:00
|
|
|
//
|
|
|
|
// MPAppDelegate.h
|
|
|
|
// 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"
|
2012-03-04 15:31:26 +01:00
|
|
|
|
2012-06-08 23:46:13 +02:00
|
|
|
@interface MPAppDelegate : MPAppDelegate_Shared<NSApplicationDelegate>
|
2012-03-04 15:31:26 +01:00
|
|
|
|
2012-06-08 23:46:13 +02:00
|
|
|
@property (strong) NSStatusItem *statusItem;
|
|
|
|
@property (strong) MPPasswordWindowController *passwordWindow;
|
|
|
|
@property (weak) IBOutlet NSMenuItem *lockItem;
|
|
|
|
@property (weak) IBOutlet NSMenuItem *showItem;
|
|
|
|
@property (strong) IBOutlet NSMenu *statusMenu;
|
|
|
|
@property (weak) IBOutlet NSMenuItem *useICloudItem;
|
|
|
|
@property (weak) IBOutlet NSMenuItem *rememberPasswordItem;
|
|
|
|
@property (weak) IBOutlet NSMenuItem *savePasswordItem;
|
2012-05-13 10:24:19 +02:00
|
|
|
|
|
|
|
+ (MPAppDelegate *)get;
|
2012-03-04 15:31:26 +01:00
|
|
|
|
2012-05-05 13:32:09 +02:00
|
|
|
- (IBAction)activate:(id)sender;
|
2012-05-08 13:41:54 +02:00
|
|
|
- (IBAction)togglePreference:(NSMenuItem *)sender;
|
2012-03-06 01:04:19 +01:00
|
|
|
|
2012-03-04 15:31:26 +01:00
|
|
|
@end
|