]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdc-variable.cxx
Import CUPS v1.7.1
[thirdparty/cups.git] / ppdc / ppdc-variable.cxx
index bbe2bdb103627b7b4c12cd0946a10aa9e64bef19..d60ef72fa4aeeeda9033335bc04c22fee209d92c 100644 (file)
@@ -1,9 +1,9 @@
 //
-// "$Id$"
+// "$Id: ppdc-variable.cxx 1378 2009-04-08 03:17:45Z msweet $"
 //
 //   Variable class for the CUPS PPD Compiler.
 //
-//   Copyright 2007-2008 by Apple Inc.
+//   Copyright 2007-2009 by Apple Inc.
 //   Copyright 2002-2005 by Easy Software Products.
 //
 //   These coded instructions, statements, and computer programs are the
@@ -23,7 +23,7 @@
 // Include necessary headers...
 //
 
-#include "ppdc.h"
+#include "ppdc-private.h"
 
 
 //
 
 ppdcVariable::ppdcVariable(const char *n,      // I - Name of variable
                            const char *v)      // I - Value of variable
+  : ppdcShared()
 {
+  PPDC_NEW;
+
   name  = new ppdcString(n);
   value = new ppdcString(v);
 }
@@ -44,6 +47,8 @@ ppdcVariable::ppdcVariable(const char *n,     // I - Name of variable
 
 ppdcVariable::~ppdcVariable()
 {
+  PPDC_DELETE;
+
   name->release();
   value->release();
 }
@@ -62,5 +67,5 @@ ppdcVariable::set_value(const char *v)
 
 
 //
-// End of "$Id$".
+// End of "$Id: ppdc-variable.cxx 1378 2009-04-08 03:17:45Z msweet $".
 //