equal
deleted
inserted
replaced
30 QTMSClientSink::~QTMSClientSink() |
30 QTMSClientSink::~QTMSClientSink() |
31 { |
31 { |
32 delete iSink; |
32 delete iSink; |
33 } |
33 } |
34 |
34 |
35 // Push mode |
35 gint QTMSClientSink::BufferProcessed(QTMSBuffer* buffer) |
36 gint QTMSClientSink::BufferProcessed(TMS::TMSBuffer* buffer) |
|
37 { |
36 { |
38 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
37 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
39 if (iSink) |
38 if (iSink) |
40 { |
39 { |
41 status = static_cast<TMSClientSink*> (iSink)->BufferProcessed(buffer); |
40 TMSBuffer* buf(reinterpret_cast<TMSBuffer*> (buffer)); |
|
41 status = static_cast<TMSClientSink*> (iSink)->BufferProcessed(buf); |
42 } |
42 } |
43 return status; |
43 return status; |
44 } |
44 } |
45 |
45 |
46 gint QTMSClientSink::GetType(QTMSSinkType& sinktype) |
46 gint QTMSClientSink::GetType(QTMSSinkType& sinktype) |