diff options
Diffstat (limited to 'Source/SPUserManager.h')
-rw-r--r-- | Source/SPUserManager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPUserManager.h b/Source/SPUserManager.h index 425c13a6..0058620a 100644 --- a/Source/SPUserManager.h +++ b/Source/SPUserManager.h @@ -124,4 +124,12 @@ - (BOOL)grantPrivilegesToUser:(NSManagedObject *)user; - (BOOL)grantDbPrivilegesWithPrivilege:(NSManagedObject *)user; +// External +/** + * Display the user manager as a sheet attached to a chosen window + * @param docWindow The parent window. + * @param callback A callback that will be called once the window is closed again. Can be NULL. + */ +- (void)beginSheetModalForWindow:(NSWindow *)docWindow completionHandler:(void (^)())callback; + @end |