diff options
author | Paul Gardiner <paul@pauls-mac-mini.site> | 2013-09-17 15:04:13 +0100 |
---|---|---|
committer | Paul Gardiner <paul@pauls-mac-mini.site> | 2013-09-17 15:08:40 +0100 |
commit | 43bcd8a7516bfbd455d81de7e00d5e139abce438 (patch) | |
tree | 71efd1fe71fb8dfd6dd4399547f9e10fa2b24d5d /platform/ios/Classes/MuLibraryController.h | |
parent | 0f6711fd4db36602034734b063cdaf30a396126c (diff) | |
download | mupdf-43bcd8a7516bfbd455d81de7e00d5e139abce438.tar.xz |
iOS: split the classes into separate files
Diffstat (limited to 'platform/ios/Classes/MuLibraryController.h')
-rw-r--r-- | platform/ios/Classes/MuLibraryController.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/platform/ios/Classes/MuLibraryController.h b/platform/ios/Classes/MuLibraryController.h new file mode 100644 index 00000000..2bb7ff71 --- /dev/null +++ b/platform/ios/Classes/MuLibraryController.h @@ -0,0 +1,29 @@ +// +// MuLibraryController.h +// MuPDF +// +// Copyright (c) 2013 Artifex Software, Inc. All rights reserved. +// + +#import <UIKit/UIKit.h> + +#undef ABS +#undef MIN +#undef MAX + +#include "mupdf/fitz.h" + +@interface MuLibraryController : UITableViewController <UIActionSheetDelegate> +{ + NSArray *files; + NSTimer *timer; + fz_document *_doc; // temporaries for juggling password dialog + NSString *_filename; +} +- (void) openDocument: (NSString*)filename; +- (void) askForPassword: (NSString*)prompt; +- (void) onPasswordOkay; +- (void) onPasswordCancel; +- (void) reload; +@end + |