/* * Copyright (c) 2023, Nico Weber * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "CocoaWrapper.h" #include NS_ASSUME_NONNULL_BEGIN // Objective-C wrapper of PDF::OutlineItem, to launder it through the NSOutlineViewDataSource protocol. @interface OutlineItemWrapper : NSObject - (BOOL)isGroupItem; - (Optional)page; @end @interface MacPDFOutlineViewDataSource : NSObject - (instancetype)initWithOutline:(RefPtr)outline; @end NS_ASSUME_NONNULL_END