1/* 2 * Author: William Chia-Wei Cheng (bill.cheng@acm.org) 3 * 4 * Copyright (C) 2001-2009, William Chia-Wei Cheng. 5 * 6 * This file may be distributed under the terms of the Q Public License 7 * as defined by Trolltech AS of Norway and appearing in the file 8 * LICENSE.QPL included in the packaging of this file. 9 * 10 * THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING 11 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 12 * PURPOSE. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, 13 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING 14 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 15 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 16 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * 18 * @(#)$Header: /mm2/home/cvs/bc-src/tgif/xprtfltr.e,v 1.6 2011/05/16 16:22:00 william Exp $ 19 */ 20 21#ifndef _XPRTFLTR_E_ 22#define _XPRTFLTR_E_ 23 24extern int gnMaxExportFilters; /* if 0, no export filters */ 25 26extern Pixmap *gaExportFilterBitmaps; 27 28extern TgEFInfo *gpTgEFInfo; 29 30#ifdef _INCLUDE_FROM_XPRTFLTR_C_ 31#undef extern 32#define extern 33#endif /*_INCLUDE_FROM_XPRTFLTR_C_*/ 34 35extern void CleanUpExportFilters ARGS_DECL((void)); 36extern int InitExportFilters ARGS_DECL((void)); 37extern int GetExportIndex ARGS_DECL((int nWhereToPrint, int nMode)); 38extern char * GetExportName ARGS_DECL((int nWhereToPrint, int nMode)); 39extern char * GetExportExt ARGS_DECL((int nWhereToPrint)); 40extern int GetExportFilterCapability ARGS_DECL((int nWhereToPrint)); 41extern int ExportVectorFile ARGS_DECL((FILE *pDumpFile, 42 int nPageNumInFileName, 43 int nPrintingPageNum, 44 int nPrintingFirstPageNum, 45 int nPrintingPageRow, 46 int nPrintingPageCol)); 47 48#ifdef _INCLUDE_FROM_XPRTFLTR_C_ 49#undef extern 50#ifndef _NO_RECURSIVE_EXTERN 51#define extern extern 52#endif /* ~_NO_RECURSIVE_EXTERN */ 53#endif /*_INCLUDE_FROM_XPRTFLTR_C_*/ 54 55#endif /*_XPRTFLTR_E_*/ 56