7fd59977 |
1 | // File: AppStd_Application.cxx |
2 | // Created: Sep 7 15:01:46 2000 |
3 | // Author: TURIN Anatoliy <ati@nnov.matra-dtv.fr> |
4 | // Copyright: Matra Datavision 2000 |
5 | // History : AGV 15/10/01 : Add XmlOcaf support; add MessageDriver support |
6 | |
7 | #include <AppStd_Application.ixx> |
8 | #include <CDM_COutMessageDriver.hxx> |
9 | |
10 | //======================================================================= |
11 | //function : AppStd_Application |
12 | //purpose : |
13 | //======================================================================= |
14 | |
15 | AppStd_Application::AppStd_Application() |
16 | { |
17 | myMessageDriver = new CDM_COutMessageDriver; |
18 | } |
19 | |
20 | //======================================================================= |
21 | //function : MessageDriver |
22 | //purpose : |
23 | //======================================================================= |
24 | |
25 | Handle(CDM_MessageDriver) AppStd_Application::MessageDriver () |
26 | { |
27 | return myMessageDriver; |
28 | } |
29 | |
30 | //======================================================================= |
31 | //function : Formats |
32 | //purpose : |
33 | //======================================================================= |
34 | void AppStd_Application::Formats(TColStd_SequenceOfExtendedString& theFormats) |
35 | { |
36 | theFormats.Append("XmlOcaf"); |
37 | theFormats.Append("BinOcaf"); |
38 | theFormats.Append("MDTV-Standard"); |
39 | } |
40 | |
41 | //======================================================================= |
42 | //function : ResourcesName |
43 | //purpose : |
44 | //======================================================================= |
45 | |
46 | Standard_CString AppStd_Application::ResourcesName() { |
47 | const Standard_CString aRes = "Standard"; |
48 | return aRes; |
49 | } |
50 | |