]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-filter.cxx
2 // Filter class for the CUPS PPD Compiler.
4 // Copyright 2007-2009 by Apple Inc.
5 // Copyright 2002-2005 by Easy Software Products.
7 // Licensed under Apache License v2.0. See the file "LICENSE" for more information.
11 // Include necessary headers...
14 #include "ppdc-private.h"
18 // 'ppdcFilter::ppdcFilter()' - Create a filter.
21 ppdcFilter::ppdcFilter(const char *t
, // I - MIME type
22 const char *p
, // I - Filter program
23 int c
) // I - Relative cost
28 mime_type
= new ppdcString(t
);
29 program
= new ppdcString(p
);
35 // 'ppdcFilter::~ppdcFilter()' - Destroy a filter.
38 ppdcFilter::~ppdcFilter()