9d6c174462
Add a "singleton" class method to DocumentViewController to return the (as for now) singleton DocumentViewController. Change-Id: I0b8a8def558cfe7f9469b6062a86311dfa63f549 Reviewed-on: https://gerrit.libreoffice.org/82007 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 2807f907d947549a17c5bae586b85d412d552a09) Reviewed-on: https://gerrit.libreoffice.org/82021
27 lines
792 B
Objective-C
27 lines
792 B
Objective-C
// -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*-
|
|
//
|
|
// This file is part of the LibreOffice project.
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <WebKit/WebKit.h>
|
|
|
|
#import "Document.h"
|
|
|
|
@interface DocumentViewController : UIViewController
|
|
|
|
@property (strong) Document *document;
|
|
@property (strong) WKWebView *webView;
|
|
@property (strong) WKWebView *slideshowWebView;
|
|
@property std::string slideshowFile;
|
|
@property (strong) NSURL *slideshowURL;
|
|
|
|
- (void)bye;
|
|
+ (DocumentViewController*)singleton;
|
|
|
|
@end
|
|
|
|
// vim:set shiftwidth=4 softtabstop=4 expandtab:
|