diff --git a/QuietUnrarAppDelegate.h b/QuietUnrarAppDelegate.h index fda39a2..b601724 100644 --- a/QuietUnrarAppDelegate.h +++ b/QuietUnrarAppDelegate.h @@ -7,6 +7,7 @@ // @import Cocoa; +@import Carbon; enum { diff --git a/QuietUnrarAppDelegate.m b/QuietUnrarAppDelegate.m index 4b42e89..1c70f71 100644 --- a/QuietUnrarAppDelegate.m +++ b/QuietUnrarAppDelegate.m @@ -6,9 +6,7 @@ // Copyright 2009 Tarasis. All rights reserved. // -#import -#import -#import +@import UserNotifications; #import "QuietUnrarAppDelegate.h" #import "TDNUnarchiver.h" @@ -59,6 +57,8 @@ BOOL appRunning = NO; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [self->preferencesWindowController.window makeKeyAndOrderFront:self]; + // temp set to YES for testing preferences + // my preference is not to have the app become front and central when run. [NSApp activateIgnoringOtherApps:YES]; }); diff --git a/TDNUserDefaults.h b/TDNUserDefaults.h index 1bcf1f0..9b11816 100644 --- a/TDNUserDefaults.h +++ b/TDNUserDefaults.h @@ -5,7 +5,6 @@ // Created by Robert McGovern on 2021/05/31. // -#import #import "FSUserDefaults.h" NS_ASSUME_NONNULL_BEGIN