equal
deleted
inserted
replaced
23 using namespace QTMS; |
23 using namespace QTMS; |
24 using namespace TMS; |
24 using namespace TMS; |
25 |
25 |
26 QTMSMicSource::QTMSMicSource() : |
26 QTMSMicSource::QTMSMicSource() : |
27 iSource(NULL) |
27 iSource(NULL) |
28 { |
28 { |
29 } |
29 } |
30 |
30 |
31 QTMSMicSource::~QTMSMicSource() |
31 QTMSMicSource::~QTMSMicSource() |
32 { |
32 { |
33 delete (static_cast<TMSMicSource*> (iSource)); |
33 delete (static_cast<TMSMicSource*> (iSource)); |
34 } |
34 } |
35 |
35 |
36 gint QTMSMicSource::GetType(QTMSSourceType& sourcetype) |
36 gint QTMSMicSource::GetType(QTMSSourceType& sourcetype) |
37 { |
37 { |
38 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
38 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
39 if (iSource) |
39 if (iSource) { |
40 { |
|
41 //status = iSource->GetType(sourcetype); |
40 //status = iSource->GetType(sourcetype); |
42 status = static_cast<TMSMicSource*> (iSource)->GetType(sourcetype); |
41 status = static_cast<TMSMicSource*> (iSource)->GetType(sourcetype); |
43 } |
42 } |
44 return status; |
43 return status; |
45 } |
44 } |
46 |
45 |
47 // End of file |
46 // End of file |