1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

MacPDF: Use Serenity license headers, remove Xcode boilerplate

This commit is contained in:
Nico Weber 2023-09-29 20:09:53 -04:00 committed by Andreas Kling
parent 91e0438fca
commit e9b0ebe55a
7 changed files with 39 additions and 57 deletions

View file

@ -1,16 +1,14 @@
//
// AppDelegate.m
// SerenityPDF
//
// Created by Nico Weber on 7/22/23.
//
/*
* Copyright (c) 2023, Nico Weber <thakis@chromium.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#import "AppDelegate.h"
#include <LibGfx/Font/FontDatabase.h>
@interface AppDelegate ()
@property (strong) IBOutlet NSWindow* window;
@end
@ -18,7 +16,6 @@
- (void)applicationDidFinishLaunching:(NSNotification*)aNotification
{
// Insert code here to initialize your application
// FIXME: copy the fonts to the bundle or something
auto source_root = DeprecatedString("/Users/thakis/src/serenity");
Gfx::FontDatabase::set_default_fonts_lookup_path(DeprecatedString::formatted("{}/Base/res/fonts", source_root));
@ -26,7 +23,6 @@
- (void)applicationWillTerminate:(NSNotification*)aNotification
{
// Insert code here to tear down your application
}
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication*)app