mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 00:02:28 +00:00
47 lines
1.4 KiB
Objective-C
47 lines
1.4 KiB
Objective-C
//
|
|
// MPMainWindowController.h
|
|
// MacPass
|
|
//
|
|
// Created by Michael Starke on 24.07.12.
|
|
// Copyright (c) 2012 HicknHack Software GmbH. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@class MPViewController;
|
|
@class MPEntryViewController;
|
|
@class MPInspectorViewController;
|
|
@class MPPasswordEditViewController;
|
|
@class MPPasswordInputController;
|
|
@class MPOutlineViewController;
|
|
@class MPCreationViewController;
|
|
|
|
@class KdbGroup;
|
|
@class KdbEntry;
|
|
|
|
APPKIT_EXTERN NSString *const MPCurrentItemChangedNotification;
|
|
|
|
@interface MPDocumentWindowController : NSWindowController <NSWindowDelegate>
|
|
|
|
@property (readonly, retain) MPPasswordInputController *passwordInputController;
|
|
@property (readonly, retain) MPPasswordEditViewController *passwordEditController;
|
|
@property (readonly, retain) MPEntryViewController *entryViewController;
|
|
@property (readonly, retain) MPOutlineViewController *outlineViewController;
|
|
@property (readonly, retain) MPInspectorViewController *inspectorViewController;
|
|
@property (readonly, retain) MPCreationViewController *creationViewController;
|
|
|
|
/* Holds the current item. That is either a KdbGroup or a KdbEntry */
|
|
@property (readonly, assign) id currentItem;
|
|
|
|
|
|
- (void)showEntries;
|
|
- (void)showPasswordInput;
|
|
- (void)performFindPanelAction:(id)sender;
|
|
- (IBAction)editPassword:(id)sender;
|
|
- (void)lock:(id)sender;
|
|
|
|
- (void)createGroup:(id)sender;
|
|
- (void)toggleInspector:(id)sender;
|
|
|
|
@end
|