From: glenlow Date: Mon, 4 Feb 2008 13:30:08 +0000 (+0000) Subject: basic viewer app for Mac OS X X-Git-Tag: LAST_LIBGRAPH~32^2~4774 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6de8cee785d3fad0da2ae595a2cea56c052dfe9c;p=graphviz basic viewer app for Mac OS X --- diff --git a/macosx/graphviz_prefix.pch b/macosx/graphviz_prefix.pch new file mode 100644 index 000000000..b608f3206 --- /dev/null +++ b/macosx/graphviz_prefix.pch @@ -0,0 +1,21 @@ +/* $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 * +**********************************************************/ + +#ifdef __OBJC__ + #import + #import + #import +#endif diff --git a/macosx/main.m b/macosx/main.m new file mode 100644 index 000000000..2a2199390 --- /dev/null +++ b/macosx/main.m @@ -0,0 +1,23 @@ +/* $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 +#import + +int main(int argc, char *argv[]) +{ + return NSApplicationMain(argc, (const char **) argv); +}