From a972dbb9bd731a439d009bd51e36981c41a06232 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 20 Oct 2009 18:12:26 +0000 Subject: *** empty log message *** --- src/pdflib/pdcore/pc_resource.h | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'src/pdflib/pdcore/pc_resource.h') diff --git a/src/pdflib/pdcore/pc_resource.h b/src/pdflib/pdcore/pc_resource.h index f83498c..d83a27f 100644 --- a/src/pdflib/pdcore/pc_resource.h +++ b/src/pdflib/pdcore/pc_resource.h @@ -10,7 +10,7 @@ | | *---------------------------------------------------------------------------*/ -/* $Id: pc_resource.h,v 1.1 2008/10/17 06:10:43 scuri Exp $ +/* $Id: pc_resource.h,v 1.2 2009/10/20 18:12:26 scuri Exp $ * * Resource routines * @@ -19,6 +19,40 @@ #ifndef PC_RESOURCE_H #define PC_RESOURCE_H +#ifdef PC_RESOURCE_C +#if !defined(WIN32) && !defined(AS400) && !defined(MVS) + +/* default SearchPath list for UNIX like systems +*/ + +/* %s: $HOME +*/ +static const char *rootdirectories[] = +{ + "/usr/local", + "%s", + NULL +}; + +/* + * first %s: root directory + * second %s: pdc->prodname + * third %s: pdc->version without revision: . + */ +static const char *defsearchpathlist[] = +{ + "%s/PDFlib", + "%s/PDFlib/%s", + "%s/PDFlib/%s/%s", + "%s/PDFlib/%s/%s/resource/cmap", + "%s/PDFlib/%s/%s/resource/fonts", + "%s/PDFlib/%s/%s/resource/icc", + NULL +}; + +#endif /* !WIN32 && !AS400 && !MVS */ +#endif /* PC_RESOURCE_C */ + /* pdcore logg classes (maximal PDC_CLASSLIST_SIZE) */ typedef enum { @@ -42,7 +76,9 @@ typedef enum trc_warning, /* logging of disabled warnings */ trc_wordfinder, /* word finder logging */ trc_xmp, /* xmp logging */ - trc_zones /* zones logging */ + trc_zones, /* zones logging */ + + trc_numclasses /* number of classes */ } pdc_logg_class; -- cgit v1.2.3