]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-message.cxx
2 // Shared message 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 // 'ppdcMessage::ppdcMessage()' - Create a shared message.
21 ppdcMessage::ppdcMessage(const char *i
, // I - ID
22 const char *s
) // I - Text
27 id
= new ppdcString(i
);
28 string
= new ppdcString(s
);
33 // 'ppdcMessage::~ppdcMessage()' - Destroy a shared message.
36 ppdcMessage::~ppdcMessage()