00001 /* $Id: gvplugin_device.h,v 1.13 2007/10/03 16:59:11 ellson Exp $ $Revision: 1.13 $ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /********************************************************** 00005 * This software is part of the graphviz package * 00006 * http://www.graphviz.org/ * 00007 * * 00008 * Copyright (c) 1994-2004 AT&T Corp. * 00009 * and is licensed under the * 00010 * Common Public License, Version 1.0 * 00011 * by AT&T Corp. * 00012 * * 00013 * Information and Software Systems Research * 00014 * AT&T Research, Florham Park NJ * 00015 **********************************************************/ 00016 00017 #ifndef GVDEVICE_PLUGIN_H 00018 #define GVDEVICE_PLUGIN_H 00019 00020 #include "types.h" 00021 #include "gvplugin.h" 00022 #include "gvcjob.h" 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00028 struct gvdevice_engine_s { 00029 void (*initialize) (GVJ_t * firstjob); 00030 void (*format) (GVJ_t * firstjob); 00031 void (*finalize) (GVJ_t * firstjob); 00032 }; 00033 00034 #ifdef __cplusplus 00035 } 00036 #endif 00037 #endif /* GVDEVICE_PLUGIN_H */