mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
MacPDF: Introduce CocoaWrapper.h
No behavior change.
This commit is contained in:
parent
65717e3b75
commit
d6dff83397
Notes:
sideshowbarker
2024-07-16 23:52:22 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/d6dff83397 Pull-request: https://github.com/SerenityOS/serenity/pull/21361
3 changed files with 14 additions and 8 deletions
12
Meta/Lagom/Contrib/MacPDF/CocoaWrapper.h
Normal file
12
Meta/Lagom/Contrib/MacPDF/CocoaWrapper.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Nico Weber <thakis@chromium.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// Several AK types conflict with MacOS types.
|
||||
#define FixedPoint FixedPointMacOS
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#undef FixedPoint
|
|
@ -6,10 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// Several AK types conflict with MacOS types.
|
||||
#define FixedPoint FixedPointMacOS
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#undef FixedPoint
|
||||
#include "CocoaWrapper.h"
|
||||
|
||||
#import "MacPDFView.h"
|
||||
|
||||
|
|
|
@ -6,10 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// Several AK types conflict with MacOS types.
|
||||
#define FixedPoint FixedPointMacOS
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#undef FixedPoint
|
||||
#include "CocoaWrapper.h"
|
||||
|
||||
#include <AK/WeakPtr.h>
|
||||
#include <LibPDF/Document.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue