]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-choice.cxx
2 // Option choice 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 // 'ppdcChoice::ppdcChoice()' - Create a new option choice.
21 ppdcChoice::ppdcChoice(const char *n
, // I - Name of choice
22 const char *t
, // I - Text of choice
23 const char *c
) // I - Code of choice
28 name
= new ppdcString(n
);
29 text
= new ppdcString(t
);
30 code
= new ppdcString(c
);
35 // 'ppdcChoice::~ppdcChoice()' - Destroy an option choice.
38 ppdcChoice::~ppdcChoice()