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:
parent
91e0438fca
commit
e9b0ebe55a
7 changed files with 39 additions and 57 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue