summaryrefslogtreecommitdiff
path: root/ppdc/ppdc-driver.cxx
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-03-25 00:42:10 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-03-25 00:42:10 +0000
commit94da7e344cb567db8e531e263f5f4ede0f989162 (patch)
tree3e7416535d61e025fde6f3b6bf965930f70301b5 /ppdc/ppdc-driver.cxx
parent238c38326574f7793dc1deda72f6aff208d791dc (diff)
downloadcups-94da7e344cb567db8e531e263f5f4ede0f989162.tar.gz
Merge changes from CUPS 1.4svn-r8469.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1338 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'ppdc/ppdc-driver.cxx')
-rw-r--r--ppdc/ppdc-driver.cxx31
1 files changed, 19 insertions, 12 deletions
diff --git a/ppdc/ppdc-driver.cxx b/ppdc/ppdc-driver.cxx
index 2321000a2..8453cce30 100644
--- a/ppdc/ppdc-driver.cxx
+++ b/ppdc/ppdc-driver.cxx
@@ -14,18 +14,20 @@
//
// Contents:
//
-// ppdcDriver::ppdcDriver() - Create a new printer driver.
-// ppdcDriver::~ppdcDriver() - Destroy a printer driver.
-// ppdcDriver::find_attr() - Find an attribute.
-// ppdcDriver::find_group() - Find a group.
-// ppdcDriver::find_option() - Find an option.
-// ppdcDriver::set_default_size() - Set the default size name.
-// ppdcDriver::set_file_name() - Set the full filename.
-// ppdcDriver::set_manufacturer() - Set the manufacturer name.
-// ppdcDriver::set_model_name() - Set the model name.
-// ppdcDriver::set_pc_file_name() - Set the PC filename.
-// ppdcDriver::set_version() - Set the version string.
-// ppdcDriver::write_ppd_file() - Write a PPD file...
+// ppdcDriver::ppdcDriver() - Create a new printer driver.
+// ppdcDriver::~ppdcDriver() - Destroy a printer driver.
+// ppdcDriver::find_attr() - Find an attribute.
+// ppdcDriver::find_group() - Find a group.
+// ppdcDriver::find_option() - Find an option.
+// ppdcDriver::set_custom_size_code() - Set the custom page size code.
+// ppdcDriver::set_default_font() - Set the default font name.
+// ppdcDriver::set_default_size() - Set the default size name.
+// ppdcDriver::set_file_name() - Set the full filename.
+// ppdcDriver::set_manufacturer() - Set the manufacturer name.
+// ppdcDriver::set_model_name() - Set the model name.
+// ppdcDriver::set_pc_file_name() - Set the PC filename.
+// ppdcDriver::set_version() - Set the version string.
+// ppdcDriver::write_ppd_file() - Write a PPD file...
//
//
@@ -41,10 +43,13 @@
//
ppdcDriver::ppdcDriver(ppdcDriver *d) // I - Printer driver template
+ : ppdcShared()
{
ppdcGroup *g; // Current group
+ PPDC_NEW;
+
if (d)
{
// Bump the use count of any strings we inherit...
@@ -140,6 +145,8 @@ ppdcDriver::ppdcDriver(ppdcDriver *d) // I - Printer driver template
ppdcDriver::~ppdcDriver()
{
+ PPDC_DELETE;
+
copyright->release();
if (manufacturer)