//
-// "$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
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$".
-//