]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-filter.cxx
2 // "$Id: ppdc-filter.cxx 1378 2009-04-08 03:17:45Z msweet $"
4 // Filter class for the CUPS PPD Compiler.
6 // Copyright 2007-2009 by Apple Inc.
7 // Copyright 2002-2005 by Easy Software Products.
9 // These coded instructions, statements, and computer programs are the
10 // property of Apple Inc. and are protected by Federal copyright
11 // law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 // which should have been included with this file. If this file is
13 // file is missing or damaged, see the license at "http://www.cups.org/".
17 // ppdcFilter::ppdcFilter() - Create a filter.
18 // ppdcFilter::~ppdcFilter() - Destroy a filter.
22 // Include necessary headers...
25 #include "ppdc-private.h"
29 // 'ppdcFilter::ppdcFilter()' - Create a filter.
32 ppdcFilter::ppdcFilter(const char *t
, // I - MIME type
33 const char *p
, // I - Filter program
34 int c
) // I - Relative cost
39 mime_type
= new ppdcString(t
);
40 program
= new ppdcString(p
);
46 // 'ppdcFilter::~ppdcFilter()' - Destroy a filter.
49 ppdcFilter::~ppdcFilter()
59 // End of "$Id: ppdc-filter.cxx 1378 2009-04-08 03:17:45Z msweet $".