Graphviz  2.31.20130525.0447
lib/gvc/gvplugin_loadimage.h
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 #ifndef GVPLUGIN_IMAGELOAD_H
00015 #define GVPLUGIN_IMAGELOAD_H
00016 
00017 #include "types.h"
00018 #include "gvplugin.h"
00019 #include "gvcjob.h"
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #ifdef GVDLL
00026 #  define extern __declspec(dllexport)
00027 #endif
00028 
00029 /*visual studio*/
00030 #ifdef WIN32_DLL
00031 #ifndef GVC_EXPORTS
00032 #define extern __declspec(dllimport)
00033 #endif
00034 #endif
00035 /*end visual studio*/
00036 
00037 extern boolean gvusershape_file_access(usershape_t *us);
00038 extern void gvusershape_file_release(usershape_t *us);
00039 
00040     struct gvloadimage_engine_s {
00041         void (*loadimage) (GVJ_t *job, usershape_t *us, boxf b, boolean filled);
00042     };
00043 
00044 #ifdef extern
00045 #undef extern
00046 #endif
00047 
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051 #endif                          /* GVPLUGIN_IMAGELOAD_H */