#import #undef ABS #undef MIN #undef MAX #include "mupdf/fitz.h" #import "MuOutlineController.h" #import "MuDocRef.h" #import "MuDialogCreator.h" #import "MuUpdater.h" enum { BARMODE_MAIN, BARMODE_SEARCH, BARMODE_MORE, BARMODE_ANNOTATION, BARMODE_HIGHLIGHT, BARMODE_UNDERLINE, BARMODE_STRIKE, BARMODE_INK, BARMODE_DELETE }; @interface MuDocumentController : UIViewController - (id) initWithFilename: (NSString*)nsfilename path:(char *)cstr document:(MuDocRef *)aDoc; - (void) createPageView: (int)number; - (void) gotoPage: (int)number animated: (BOOL)animated; - (void) onShowOutline: (id)sender; - (void) onShowSearch: (id)sender; - (void) onCancel: (id)sender; - (void) resetSearch; - (void) showSearchResults: (int)count forPage: (int)number; - (void) onSlide: (id)sender; - (void) onTap: (UITapGestureRecognizer*)sender; - (void) showNavigationBar; - (void) hideNavigationBar; @end