//
// PPD to HTML utility for the CUPS PPD Compiler.
//
-// Copyright 2007-2008 by Apple Inc.
+// Copyright 2007-2011 by Apple Inc.
// Copyright 2002-2005 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
// Include necessary headers...
//
-#include "ppdc.h"
+#include "ppdc-private.h"
#include <sys/stat.h>
#include <sys/types.h>
-#include <cups/i18n.h>
//
puts("</body>");
puts("</html>");
// Delete the printer driver information...
- delete composite;
- delete src;
+ composite->release();
+ src->release();
}
// If no drivers have been loaded, display the program usage message.
static void
usage(void)
{
- _cupsLangPuts(stdout,
- _("Usage: ppdhtml [options] filename.drv >filename.html\n"
- " -D name=value Set named variable to value.\n"
- "Options:\n"
- " -I include-dir Add include directory to search "
- "path.\n"));
+ _cupsLangPuts(stdout, _("Usage: ppdhtml [options] filename.drv "
+ ">filename.html"));
+ _cupsLangPuts(stdout, _("Options:"));
+ _cupsLangPuts(stdout, _(" -D name=value Set named variable to "
+ "value."));
+ _cupsLangPuts(stdout, _(" -I include-dir Add include directory "
+ "to search path."));
exit(1);
}