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 | #ifndef GVPLUGIN_IMAGELOAD_H |
15 | #define GVPLUGIN_IMAGELOAD_H |
16 | |
17 | #include "types.h" |
18 | #include "gvplugin.h" |
19 | #include "gvcjob.h" |
20 | |
21 | #ifdef __cplusplus |
22 | extern "C" { |
23 | #endif |
24 | |
25 | #ifdef GVDLL |
26 | # define extern __declspec(dllexport) |
27 | #endif |
28 | |
29 | /*visual studio*/ |
30 | #ifdef _WIN32 |
31 | #ifndef GVC_EXPORTS |
32 | #define extern __declspec(dllimport) |
33 | #endif |
34 | #endif |
35 | /*end visual studio*/ |
36 | |
37 | extern boolean gvusershape_file_access(usershape_t *us); |
38 | extern void gvusershape_file_release(usershape_t *us); |
39 | |
40 | struct gvloadimage_engine_s { |
41 | void (*loadimage) (GVJ_t *job, usershape_t *us, boxf b, boolean filled); |
42 | }; |
43 | |
44 | #ifdef extern |
45 | #undef extern |
46 | #endif |
47 | |
48 | #ifdef __cplusplus |
49 | } |
50 | #endif |
51 | #endif /* GVPLUGIN_IMAGELOAD_H */ |
52 | |