//
// Definitions for the CUPS PPD Compiler.
//
-// Copyright 2007-2008 by Apple Inc.
+// Copyright 2007-2009 by Apple Inc.
// Copyright 2002-2007 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
// Include necessary headers...
//
-# include <cups/string.h>
-
# include <cups/file.h>
# include <stdlib.h>
-# include <errno.h>
//
// Macros...
//
-# ifdef DEBUG
-# define PPDC_NAME(s) const char *class_name() { return (s); }
-# define PPDC_NEW fprintf(stderr, "DEBUG: %p new %s\n", this, class_name())
-# define PPDC_NEWVAL(s) fprintf(stderr, "DEBUG: %p new %s(\"%s\")\n", this, class_name(), s)
-# define PPDC_DELETE fprintf(stderr, "DEBUG: %p delete %s\n", this, class_name())
-# else
-# define PPDC_NAME(s)
-# define PPDC_NEW
-# define PPDC_NEWVAL(s)
-# define PPDC_DELETE
-# endif // DEBUG
+# define PPDC_NAME(s) const char *class_name() { return (s); }
//
ppdcShared();
virtual ~ppdcShared();
-# ifdef DEBUG
virtual const char *class_name() = 0;
-# endif // DEBUG
void retain();
void release();
ppdcAttr *find_attr(const char *k, const char *s);
ppdcGroup *find_group(const char *n);
ppdcOption *find_option(const char *n);
+ ppdcOption *find_option_group(const char *n, ppdcGroup **mg);
void set_custom_size_code(const char *c);
void set_default_font(ppdcFont *f);