Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AppStdL / AppStdL_Application.cxx
CommitLineData
7fd59977 1// File: AppStdL_Application.cxx
2// Created: Jun 29 11:45:12 2004
3// Author: Eugeny NAPALKOV
4// <env@kivox>
5// Copyright: Matra Datavision 2004
6// History : AGV 15/10/01 : Add XmlOcaf support; add MessageDriver support
7
8#include <AppStdL_Application.ixx>
9#include <CDM_COutMessageDriver.hxx>
10
11//=======================================================================
12//function : AppStdL_Application
13//purpose :
14//=======================================================================
15
16AppStdL_Application::AppStdL_Application()
17{
18 myMessageDriver = new CDM_COutMessageDriver;
19}
20
21//=======================================================================
22//function : MessageDriver
23//purpose :
24//=======================================================================
25
26Handle(CDM_MessageDriver) AppStdL_Application::MessageDriver ()
27{
28 return myMessageDriver;
29}
30
31//=======================================================================
32//function : Formats
33//purpose :
34//=======================================================================
35void AppStdL_Application::Formats(TColStd_SequenceOfExtendedString& theFormats)
36{
37 theFormats.Append("OCC-StdLite");
38 theFormats.Append("XmlLOcaf");
39 theFormats.Append("BinLOcaf");
40}
41
42//=======================================================================
43//function : ResourcesName
44//purpose :
45//=======================================================================
46
47Standard_CString AppStdL_Application::ResourcesName() {
48 const Standard_CString aRes = "StandardLite";
49 //const Standard_CString aRes = "Standard";
50 return aRes;
51}
52