]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-message.cxx
4 // Shared message 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 // ppdcMessage::ppdcMessage() - Create a shared message.
18 // ppdcMessage::~ppdcMessage() - Destroy a shared message.
22 // Include necessary headers...
25 #include "ppdc-private.h"
29 // 'ppdcMessage::ppdcMessage()' - Create a shared message.
32 ppdcMessage::ppdcMessage(const char *i
, // I - ID
33 const char *s
) // I - Text
38 id
= new ppdcString(i
);
39 string
= new ppdcString(s
);
44 // 'ppdcMessage::~ppdcMessage()' - Destroy a shared message.
47 ppdcMessage::~ppdcMessage()