mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 01:05:58 +03:00
d6dff83397
No behavior change.
27 lines
442 B
Objective-C
27 lines
442 B
Objective-C
/*
|
|
* Copyright (c) 2023, Nico Weber <thakis@chromium.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "CocoaWrapper.h"
|
|
|
|
#include <AK/WeakPtr.h>
|
|
#include <LibPDF/Document.h>
|
|
|
|
@protocol MacPDFViewDelegate
|
|
- (void)pageChanged;
|
|
@end
|
|
|
|
@interface MacPDFView : NSView
|
|
|
|
- (void)setDocument:(WeakPtr<PDF::Document>)doc;
|
|
- (void)goToPage:(int)page;
|
|
- (int)page;
|
|
|
|
- (void)setDelegate:(id<MacPDFViewDelegate>)delegate;
|
|
|
|
@end
|