mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-21 17:49:34 +00:00
This reverts commit 7095d55670.
# Conflicts:
# MacPass/MPAutotypeEnvironment.h
# MacPass/MPAutotypeEnvironment.m
31 lines
840 B
Objective-C
31 lines
840 B
Objective-C
//
|
|
// MPAutotypeDoctor.h
|
|
// MacPass
|
|
//
|
|
// Created by Michael Starke on 03.07.19.
|
|
// Copyright © 2019 HicknHack Software GmbH. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MPAutotypeDoctor : NSObject
|
|
|
|
|
|
@property (class, readonly, strong) MPAutotypeDoctor *defaultDoctor;
|
|
@property (nonatomic, readonly) BOOL hasNecessaryAutotypePermissions; // MacPass has all the permissions it needs to run autotype on the current system
|
|
|
|
- (BOOL)hasScreenRecordingPermissions:(NSError *__autoreleasing*)error;
|
|
- (BOOL)hasAccessibiltyPermissions:(NSError *__autoreleasing*)error;
|
|
|
|
- (void)runChecksAndPresentResults;
|
|
- (void)openScreenRecordingPreferences;
|
|
- (void)requestScreenRecordingPermission;
|
|
- (void)openAccessibiltyPreferences;
|
|
- (void)openAutomationPreferences;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|