From: glenlow Date: Mon, 26 May 2008 06:09:46 +0000 (+0000) Subject: export dialog with selectable format and render X-Git-Tag: LAST_LIBGRAPH~32^2~4000 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8f85acac1c59d4074b588658c1ee867503eedd1;p=graphviz export dialog with selectable format and render --- diff --git a/macosx/GVExportViewController.h b/macosx/GVExportViewController.h new file mode 100644 index 000000000..b3cf81cc3 --- /dev/null +++ b/macosx/GVExportViewController.h @@ -0,0 +1,37 @@ +/* $Id$ $Revision$ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2008 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +#import + +@interface GVExportViewController : NSViewController +{ + NSSavePanel *_panel; + NSString *_filename; + NSDictionary *_formatRender; + NSString *_render; +} + +@property(readonly) NSArray *formatRenders; +@property(readonly) NSString *device; +@property(retain) NSString *filename; +@property(retain) NSDictionary *formatRender; +@property(retain) NSString *render; + +- (id)init; + +- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(id)modalDelegate didEndSelector:(SEL)selector; + +@end