mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 01:55:07 +00:00
MacPDF: Introduce CocoaWrapper.h
No behavior change.
This commit is contained in:
parent
65717e3b75
commit
d6dff83397
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…
Reference in a new issue