1 | /* $Id$ $Revision$ */ |
2 | /* vim:set shiftwidth=4 ts=8: */ |
3 | |
4 | /************************************************************************* |
5 | * Copyright (c) 2011 AT&T Intellectual Property |
6 | * All rights reserved. This program and the accompanying materials |
7 | * are made available under the terms of the Eclipse Public License v1.0 |
8 | * which accompanies this distribution, and is available at |
9 | * http://www.eclipse.org/legal/epl-v10.html |
10 | * |
11 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
12 | *************************************************************************/ |
13 | |
14 | #include "gvplugin.h" |
15 | |
16 | extern gvplugin_installed_t gvdevice_dot_types[]; |
17 | extern gvplugin_installed_t gvdevice_fig_types[]; |
18 | extern gvplugin_installed_t gvdevice_map_types[]; |
19 | extern gvplugin_installed_t gvdevice_mp_types[]; |
20 | extern gvplugin_installed_t gvdevice_ps_types[]; |
21 | extern gvplugin_installed_t gvdevice_svg_types[]; |
22 | extern gvplugin_installed_t gvdevice_json_types[]; |
23 | extern gvplugin_installed_t gvdevice_tk_types[]; |
24 | extern gvplugin_installed_t gvdevice_vml_types[]; |
25 | extern gvplugin_installed_t gvdevice_pic_types[]; |
26 | extern gvplugin_installed_t gvdevice_pov_types[]; |
27 | |
28 | extern gvplugin_installed_t gvrender_dot_types[]; |
29 | extern gvplugin_installed_t gvrender_fig_types[]; |
30 | extern gvplugin_installed_t gvrender_map_types[]; |
31 | extern gvplugin_installed_t gvrender_mp_types[]; |
32 | extern gvplugin_installed_t gvrender_ps_types[]; |
33 | extern gvplugin_installed_t gvrender_svg_types[]; |
34 | extern gvplugin_installed_t gvrender_json_types[]; |
35 | extern gvplugin_installed_t gvrender_tk_types[]; |
36 | extern gvplugin_installed_t gvrender_vml_types[]; |
37 | extern gvplugin_installed_t gvrender_pic_types[]; |
38 | extern gvplugin_installed_t gvrender_pov_types[]; |
39 | |
40 | extern gvplugin_installed_t gvloadimage_core_types[]; |
41 | |
42 | |
43 | |
44 | |
45 | static gvplugin_api_t apis[] = { |
46 | {API_device, gvdevice_dot_types}, |
47 | {API_device, gvdevice_fig_types}, |
48 | {API_device, gvdevice_map_types}, |
49 | {API_device, gvdevice_mp_types}, |
50 | {API_device, gvdevice_ps_types}, |
51 | {API_device, gvdevice_svg_types}, |
52 | {API_device, gvdevice_json_types}, |
53 | {API_device, gvdevice_tk_types}, |
54 | {API_device, gvdevice_vml_types}, |
55 | {API_device, gvdevice_pic_types}, |
56 | {API_device, gvdevice_pov_types}, |
57 | |
58 | {API_render, gvrender_dot_types}, |
59 | {API_render, gvrender_fig_types}, |
60 | {API_render, gvrender_map_types}, |
61 | {API_render, gvrender_mp_types}, |
62 | {API_render, gvrender_ps_types}, |
63 | {API_render, gvrender_svg_types}, |
64 | {API_render, gvrender_json_types}, |
65 | {API_render, gvrender_tk_types}, |
66 | {API_render, gvrender_vml_types}, |
67 | {API_render, gvrender_pic_types}, |
68 | {API_render, gvrender_pov_types}, |
69 | |
70 | {API_loadimage, gvloadimage_core_types}, |
71 | |
72 | {(api_t)0, 0}, |
73 | }; |
74 | |
75 | #ifdef _WIN32 |
76 | # define GVPLUGIN_CORE_API __declspec(dllexport) |
77 | #else |
78 | # define GVPLUGIN_CORE_API |
79 | #endif |
80 | |
81 | GVPLUGIN_CORE_API gvplugin_library_t gvplugin_core_LTX_library = { "core" , apis }; |
82 | |