Graphviz  2.29.20120524.0446
plugin/core/gvplugin_core.c
Go to the documentation of this file.
00001 /* $Id$ $Revision$ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /*************************************************************************
00005  * Copyright (c) 2011 AT&T Intellectual Property 
00006  * All rights reserved. This program and the accompanying materials
00007  * are made available under the terms of the Eclipse Public License v1.0
00008  * which accompanies this distribution, and is available at
00009  * http://www.eclipse.org/legal/epl-v10.html
00010  *
00011  * Contributors: See CVS logs. Details at http://www.graphviz.org/
00012  *************************************************************************/
00013 
00014 #include "gvplugin.h"
00015 
00016 extern gvplugin_installed_t gvdevice_dot_types[];
00017 extern gvplugin_installed_t gvdevice_fig_types[];
00018 extern gvplugin_installed_t gvdevice_map_types[];
00019 extern gvplugin_installed_t gvdevice_ps_types[];
00020 extern gvplugin_installed_t gvdevice_svg_types[];
00021 extern gvplugin_installed_t gvdevice_tk_types[];
00022 extern gvplugin_installed_t gvdevice_vml_types[];
00023 extern gvplugin_installed_t gvdevice_pic_types[];
00024 extern gvplugin_installed_t gvdevice_pov_types[];
00025 
00026 extern gvplugin_installed_t gvrender_dot_types[];
00027 extern gvplugin_installed_t gvrender_fig_types[];
00028 extern gvplugin_installed_t gvrender_map_types[];
00029 extern gvplugin_installed_t gvrender_ps_types[];
00030 extern gvplugin_installed_t gvrender_svg_types[];
00031 extern gvplugin_installed_t gvrender_tk_types[];
00032 extern gvplugin_installed_t gvrender_vml_types[];
00033 extern gvplugin_installed_t gvrender_pic_types[];
00034 extern gvplugin_installed_t gvrender_pov_types[];
00035 
00036 extern gvplugin_installed_t gvloadimage_core_types[];
00037 
00038 
00039 
00040 
00041 static gvplugin_api_t apis[] = {
00042     {API_device, gvdevice_dot_types},
00043     {API_device, gvdevice_fig_types},
00044     {API_device, gvdevice_map_types},
00045     {API_device, gvdevice_ps_types},
00046     {API_device, gvdevice_svg_types},
00047     {API_device, gvdevice_tk_types},
00048     {API_device, gvdevice_vml_types},
00049     {API_device, gvdevice_pic_types},
00050     {API_device, gvdevice_pov_types},
00051 
00052     {API_render, gvrender_dot_types},
00053     {API_render, gvrender_fig_types},
00054     {API_render, gvrender_map_types},
00055     {API_render, gvrender_ps_types},
00056     {API_render, gvrender_svg_types},
00057     {API_render, gvrender_tk_types},
00058     {API_render, gvrender_vml_types},
00059     {API_render, gvrender_pic_types},
00060     {API_render, gvrender_pov_types},
00061 
00062     {API_loadimage, gvloadimage_core_types},
00063 
00064     {(api_t)0, 0},
00065 };
00066 
00067 #ifdef WIN32_DLL
00068 #ifndef GVPLUGIN_CORE_EXPORTS
00069 __declspec(dllimport) gvplugin_library_t gvplugin_core_LTX_library = { "core", apis };
00070 #else
00071 __declspec(dllexport) gvplugin_library_t gvplugin_core_LTX_library = { "core", apis };
00072 #endif
00073 #endif
00074 
00075 
00076 
00077 #ifndef WIN32_DLL
00078 #ifdef GVDLL
00079 __declspec(dllexport) gvplugin_library_t gvplugin_core_LTX_library = { "core", apis };
00080 #else
00081 gvplugin_library_t gvplugin_core_LTX_library = { "core", apis };
00082 #endif
00083 #endif
00084 
00085