mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
MacPDF: Introduce CocoaWrapper.h
No behavior change.
This commit is contained in:
parent
65717e3b75
commit
d6dff83397
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
|
#pragma once
|
||||||
|
|
||||||
// Several AK types conflict with MacOS types.
|
#include "CocoaWrapper.h"
|
||||||
#define FixedPoint FixedPointMacOS
|
|
||||||
#import <Cocoa/Cocoa.h>
|
|
||||||
#undef FixedPoint
|
|
||||||
|
|
||||||
#import "MacPDFView.h"
|
#import "MacPDFView.h"
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Several AK types conflict with MacOS types.
|
#include "CocoaWrapper.h"
|
||||||
#define FixedPoint FixedPointMacOS
|
|
||||||
#import <Cocoa/Cocoa.h>
|
|
||||||
#undef FixedPoint
|
|
||||||
|
|
||||||
#include <AK/WeakPtr.h>
|
#include <AK/WeakPtr.h>
|
||||||
#include <LibPDF/Document.h>
|
#include <LibPDF/Document.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue