mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 01:59:24 +00:00
Started transition to document based application
This commit is contained in:
25
MacPass/MPDocument.h
Normal file
25
MacPass/MPDocument.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// MPDocument.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 08.05.13.
|
||||
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "MPDatabaseVersion.h"
|
||||
|
||||
@class KdbGroup;
|
||||
|
||||
@interface MPDocument : NSDocument
|
||||
|
||||
@property (assign, readonly) KdbGroup *root;
|
||||
@property (retain, readonly) NSURL *file;
|
||||
@property (nonatomic,retain) NSString *password;
|
||||
@property (nonatomic, retain) NSURL *key;
|
||||
@property (assign, readonly) MPDatabaseVersion version;
|
||||
|
||||
- (id)initWithVersion:(MPDatabaseVersion)version;
|
||||
- (BOOL)decryptWithPassword:(NSString *)password keyFileURL:(NSURL *)keyFileURL;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user