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