// // $Id$ // // QLPreviewPanel.h // sequel-pro // // Created by Stuart Connolly (stuconnolly.com) on June 15, 2009 // Copyright (c) 2009 Stuart Connolly. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // More info at <http://code.google.com/p/sequel-pro/> #import <Cocoa/Cocoa.h> // As the QuickLook framework is private we have to make // these methods public to avoid warnings while compiling @interface QLPreviewPanel : NSPanel + (id)sharedPreviewPanel; + (id)_previewPanel; + (BOOL)isSharedPreviewPanelLoaded; - (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(NSUInteger)fp24 backing:(NSUInteger)fp28 defer:(BOOL)fp32; - (id)initWithCoder:(id)fp8; - (void)dealloc; - (BOOL)isOpaque; - (BOOL)canBecomeKeyWindow; - (BOOL)canBecomeMainWindow; - (BOOL)shouldIgnorePanelFrameChanges; - (BOOL)isOpen; - (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24 animate:(BOOL)fp28; - (id)_subEffectsForWindow:(id)fp8 itemFrame:(struct _NSRect)fp12 transitionWindow:(id *)fp28; - (id)_scaleEffectForItemFrame:(struct _NSRect)fp8 transitionWindow:(id *)fp24; - (void)_invertCurrentEffect; - (struct _NSRect)_currentItemFrame; - (void)setAutosizesAndCenters:(BOOL)fp8; - (BOOL)autosizesAndCenters; - (void)makeKeyAndOrderFront:(id)fp8; - (void)makeKeyAndOrderFrontWithEffect:(NSInteger)fp8; - (void)makeKeyAndGoFullscreenWithEffect:(NSInteger)fp8; - (void)makeKeyAndOrderFrontWithEffect:(NSInteger)fp8 canClose:(BOOL)fp12; - (void)_makeKeyAndOrderFrontWithEffect:(NSInteger)fp8 canClose:(BOOL)fp12 willOpen:(BOOL)fp16 toFullscreen:(BOOL)fp20; - (NSInteger)openingEffect; - (void)closePanel; - (void)close; - (void)closeWithEffect:(NSInteger)fp8; - (void)closeWithEffect:(NSInteger)fp8 canReopen:(BOOL)fp12; - (void)_closeWithEffect:(NSInteger)fp8 canReopen:(BOOL)fp12; - (void)windowEffectDidTerminate:(id)fp8; - (void)_close:(id)fp8; - (void)sendEvent:(id)fp8; - (void)selectNextItem; - (void)selectPreviousItem; - (void)setURLs:(id)fp8 currentIndex:(NSUInteger)fp12 preservingDisplayState:(BOOL)fp16; - (void)setURLs:(id)fp8 preservingDisplayState:(BOOL)fp12; - (void)setURLs:(id)fp8; - (id)URLs; - (NSUInteger)indexOfCurrentURL; - (void)setIndexOfCurrentURL:(NSUInteger)fp8; - (void)setDelegate:(id)fp8; - (id)sharedPreviewView; - (void)setSharedPreviewView:(id)fp8; - (void)setCyclesSelection:(BOOL)fp8; - (BOOL)cyclesSelection; - (void)setShowsAddToiPhotoButton:(BOOL)fp8; - (BOOL)showsAddToiPhotoButton; - (void)setShowsiChatTheaterButton:(BOOL)fp8; - (BOOL)showsiChatTheaterButton; - (void)setShowsFullscreenButton:(BOOL)fp8; - (BOOL)showsFullscreenButton; - (void)setShowsIndexSheetButton:(BOOL)fp8; - (BOOL)showsIndexSheetButton; - (void)setAutostarts:(BOOL)fp8; - (BOOL)autostarts; - (void)setPlaysDuringPanelAnimation:(BOOL)fp8; - (BOOL)playsDuringPanelAnimation; - (void)setDeferredLoading:(BOOL)fp8; - (BOOL)deferredLoading; - (void)setEnableDragNDrop:(BOOL)fp8; - (BOOL)enableDragNDrop; - (void)start:(id)fp8; - (void)stop:(id)fp8; - (void)setShowsIndexSheet:(BOOL)fp8; - (BOOL)showsIndexSheet; - (void)setShareWithiChat:(BOOL)fp8; - (BOOL)shareWithiChat; - (void)setPlaysSlideShow:(BOOL)fp8; - (BOOL)playsSlideShow; - (void)setIsFullscreen:(BOOL)fp8; - (BOOL)isFullscreen; - (void)setMandatoryClient:(id)fp8; - (id)mandatoryClient; - (void)setForcedContentTypeUTI:(id)fp8; - (id)forcedContentTypeUTI; - (void)setDocumentURLs:(id)fp8; - (void)setDocumentURLs:(id)fp8 preservingDisplayState:(BOOL)fp12; - (void)setDocumentURLs:(id)fp8 itemFrame:(struct _NSRect)fp12; - (void)setURLs:(id)fp8 itemFrame:(struct _NSRect)fp12; - (void)setAutoSizeAndCenterOnScreen:(BOOL)fp8; - (void)setShowsAddToiPhoto:(BOOL)fp8; - (void)setShowsiChatTheater:(BOOL)fp8; - (void)setShowsFullscreen:(BOOL)fp8; @end