equal
deleted
inserted
replaced
19 #include "tmsinbandtone.h" |
19 #include "tmsinbandtone.h" |
20 #include "tmsinbandtoneobsrvr.h" |
20 #include "tmsinbandtoneobsrvr.h" |
21 |
21 |
22 using namespace TMS; |
22 using namespace TMS; |
23 |
23 |
24 |
|
25 EXPORT_C TMSInbandTone::TMSInbandTone(void) : |
24 EXPORT_C TMSInbandTone::TMSInbandTone(void) : |
26 iBody(NULL) |
25 iBody(NULL) |
27 { |
26 { |
28 } |
27 } |
29 |
28 |
30 EXPORT_C TMSInbandTone::~TMSInbandTone(void) |
29 EXPORT_C TMSInbandTone::~TMSInbandTone(void) |
31 { |
30 { |
32 delete iBody; |
31 delete iBody; |
33 } |
32 } |
34 |
33 |
35 EXPORT_C gint TMSInbandTone::AddObserver(TMSInbandToneObserver& obsrvr, gpointer user_data) |
34 EXPORT_C gint TMSInbandTone::AddObserver(TMSInbandToneObserver& obsrvr, |
|
35 gpointer user_data) |
36 { |
36 { |
37 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
37 gint status(TMS_RESULT_UNINITIALIZED_OBJECT); |
38 if (iBody) |
38 if (iBody) |
39 { |
39 { |
40 status = iBody->AddObserver(obsrvr, user_data); |
40 status = iBody->AddObserver(obsrvr, user_data); |