0813fb40d0
[FIXED] Confinement concurrency type is just all sorts of buggy.
27 lines
562 B
Objective-C
27 lines
562 B
Objective-C
//
|
|
// MPAppDelegate_Shared.h
|
|
// MasterPassword
|
|
//
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import "MPEntities.h"
|
|
|
|
#if TARGET_OS_IPHONE
|
|
|
|
@interface MPAppDelegate_Shared : PearlAppDelegate
|
|
#else
|
|
@interface MPAppDelegate_Shared : NSObject <PearlConfigDelegate>
|
|
#endif
|
|
|
|
@property(strong, nonatomic) MPKey *key;
|
|
|
|
+ (instancetype)get;
|
|
|
|
- (MPUserEntity *)activeUserForMainThread;
|
|
- (MPUserEntity *)activeUserInContext:(NSManagedObjectContext *)moc;
|
|
- (void)setActiveUser:(MPUserEntity *)activeUser;
|
|
|
|
@end
|