Some more import switches. Missed them earlier.

This commit is contained in:
Robert McGovern 2022-04-20 13:43:50 +01:00
parent eb4f8474e7
commit 0d3d4c2781
3 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,7 @@
// //
@import Cocoa; @import Cocoa;
@import Carbon;
enum enum
{ {

View File

@ -6,9 +6,7 @@
// Copyright 2009 Tarasis. All rights reserved. // Copyright 2009 Tarasis. All rights reserved.
// //
#import <Carbon/Carbon.h> @import UserNotifications;
#import <Cocoa/Cocoa.h>
#import <UserNotifications/UserNotifications.h>
#import "QuietUnrarAppDelegate.h" #import "QuietUnrarAppDelegate.h"
#import "TDNUnarchiver.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(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self->preferencesWindowController.window makeKeyAndOrderFront:self]; [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]; [NSApp activateIgnoringOtherApps:YES];
}); });

View File

@ -5,7 +5,6 @@
// Created by Robert McGovern on 2021/05/31. // Created by Robert McGovern on 2021/05/31.
// //
#import <Foundation/Foundation.h>
#import "FSUserDefaults.h" #import "FSUserDefaults.h"
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN