summaryrefslogtreecommitdiff
path: root/src/Message/Message_Printer.cxx
blob: ca36bf724900934f393ab0496e40255814191e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// File:      Message_Printer.cxx
// Created:   Sat Jan  6 19:26:55 2001
// Author:    OCC Team
// Copyright: Open CASCADE S.A. 2005

#include <Message_Printer.ixx>

#include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>

//=======================================================================
//function : Send
//purpose  : 
//=======================================================================

void Message_Printer::Send (const Standard_CString theString,
			    const Message_Gravity theGravity,
			    const Standard_Boolean putEndl) const
{
  Send ( TCollection_ExtendedString(theString), theGravity, putEndl );
}

//=======================================================================
//function : Send
//purpose  : 
//=======================================================================

void Message_Printer::Send (const TCollection_AsciiString& theString,
			    const Message_Gravity theGravity,
			    const Standard_Boolean putEndl) const
{
  Send ( TCollection_ExtendedString(theString), theGravity, putEndl );
}