]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/testcatalog.cxx
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / ppdc / testcatalog.cxx
index 808738d90830ab25683acff50529183e86fba339..a03deec5481df4dd4f831b6b34878ac3a2c32f18 100644 (file)
@@ -1,30 +1,20 @@
 //
-// "$Id$"
+// Test program for message catalog class.
 //
-//   Test program for message catalog class.
+// Copyright 2008 by Apple Inc.
 //
-//   Copyright 2008 by Apple Inc.
-//
-//   These coded instructions, statements, and computer programs are the
-//   property of Apple Inc. and are protected by Federal copyright
-//   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-//   which should have been included with this file.  If this file is
-//   file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-//   main() - Open a message catalog 
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
 //
 
 //
 // Include necessary headers...
 //
 
-#include "ppdc.h"
+#include "ppdc-private.h"
 
 
 //
-// 'main()' - Open a message catalog 
+// 'main()' - Open a message catalog
 //
 
 int                                    // O - Exit status
@@ -51,13 +41,8 @@ main(int  argc,                              // I - Number of command-line arguments
        m = (ppdcMessage *)catalog->messages->next())
     printf("%s: %s\n", m->id->value, m->string->value);
 
-  delete catalog;
+  catalog->release();
 
   // Return with no errors.
   return (0);
 }
-
-
-//
-// End of "$Id$".
-//