2
0
MasterPassword/MasterPassword/ObjC/MPAppDelegate_Shared.h

27 lines
571 B
C
Raw Normal View History

//
// MPAppDelegate_Shared.h
// MasterPassword
//
// Created by Maarten Billemont on 24/11/11.
// Copyright (c) 2011 Lyndir. All rights reserved.
//
#import "MPEntities.h"
2012-05-13 10:24:19 +02:00
#if TARGET_OS_IPHONE
2012-06-08 23:46:13 +02:00
@interface MPAppDelegate_Shared : PearlAppDelegate
2012-05-13 10:24:19 +02:00
#else
@interface MPAppDelegate_Shared : NSObject <PearlConfigDelegate>
#endif
@property (strong, nonatomic) MPKey *key;
+ (instancetype)get;
- (MPUserEntity *)activeUserForThread;
- (MPUserEntity *)activeUserInContext:(NSManagedObjectContext *)moc;
- (void)setActiveUser:(MPUserEntity *)activeUser;
@end