2017-04-05 20:56:22 +00:00
|
|
|
//==============================================================================
|
|
|
|
// This file is part of Master Password.
|
|
|
|
// Copyright (c) 2011-2017, Maarten Billemont.
|
2011-11-30 21:42:40 +00:00
|
|
|
//
|
2017-04-05 20:56:22 +00:00
|
|
|
// Master Password is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
2011-11-30 21:42:40 +00:00
|
|
|
//
|
2017-04-05 20:56:22 +00:00
|
|
|
// Master Password is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
2011-11-30 21:42:40 +00:00
|
|
|
//
|
2017-04-05 20:56:22 +00:00
|
|
|
// You can find a copy of the GNU General Public License in the
|
|
|
|
// LICENSE file. Alternatively, see <http://www.gnu.org/licenses/>.
|
|
|
|
//==============================================================================
|
2011-11-30 21:42:40 +00:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2020-04-25 21:10:20 +00:00
|
|
|
#import <StoreKit/StoreKit.h>
|
2013-01-31 21:22:37 +00:00
|
|
|
|
2012-05-11 20:45:05 +00:00
|
|
|
#import "MPAppDelegate_Shared.h"
|
2011-11-30 21:42:40 +00:00
|
|
|
|
2020-04-25 21:10:20 +00:00
|
|
|
@interface MPiOSAppDelegate : MPAppDelegate_Shared <SKStoreProductViewControllerDelegate>
|
|
|
|
|
2020-05-22 21:34:04 +00:00
|
|
|
@property(nonatomic, strong) UIWindow *window;
|
2020-07-22 01:21:52 +00:00
|
|
|
@property(nonatomic, strong) SKStoreProductViewController *spectreViewController;
|
2020-04-25 21:10:20 +00:00
|
|
|
|
|
|
|
- (void)openURL:(NSURL *)url;
|
2012-05-11 20:45:05 +00:00
|
|
|
|
2012-08-26 15:40:32 +00:00
|
|
|
- (void)showFeedbackWithLogs:(BOOL)logs forVC:(UIViewController *)viewController;
|
2013-04-30 01:15:14 +00:00
|
|
|
- (void)openFeedbackWithLogs:(BOOL)logs forVC:(UIViewController *)viewController;
|
2012-02-02 13:56:09 +00:00
|
|
|
|
2014-04-25 01:43:47 +00:00
|
|
|
- (void)showExportForVC:(UIViewController *)viewController;
|
2020-04-25 21:10:20 +00:00
|
|
|
- (void)migrateFor:(MPUserEntity *)user;
|
|
|
|
|
2017-04-01 04:30:25 +00:00
|
|
|
- (void)changeMasterPasswordFor:(MPUserEntity *)user saveInContext:(NSManagedObjectContext *)moc didResetBlock:(void ( ^ )(void))didReset;
|
2012-05-08 13:57:11 +00:00
|
|
|
|
2011-11-30 21:42:40 +00:00
|
|
|
@end
|