qtms/src/qtmsclientsinkimpl.cpp
changeset 44 d141fc1ad77b
parent 27 cbb1bfb7ebfb
child 50 762d760dcfdf
equal deleted inserted replaced
43:7b58e65d61ee 44:d141fc1ad77b
    16  */
    16  */
    17 
    17 
    18 #include <qtms.h>
    18 #include <qtms.h>
    19 #include <tmsbuffer.h>
    19 #include <tmsbuffer.h>
    20 #include <tmsclientsink.h>
    20 #include <tmsclientsink.h>
       
    21 #include <qtmsbuffer.h>
    21 #include "qtmsclientsinkimpl.h"
    22 #include "qtmsclientsinkimpl.h"
    22 
    23 
    23 using namespace QTMS;
    24 using namespace QTMS;
    24 using namespace TMS;
    25 using namespace TMS;
    25 
    26 
    91     return ret;
    92     return ret;
    92     }
    93     }
    93 
    94 
    94 void QTMSClientSinkImpl::ProcessBuffer(const TMS::TMSBuffer* buffer)
    95 void QTMSClientSinkImpl::ProcessBuffer(const TMS::TMSBuffer* buffer)
    95     {
    96     {
    96     emit QTMS::QTMSClientSink::ProcessBuffer(buffer);
    97     TMSBuffer* buf(const_cast<TMSBuffer*> (buffer));
       
    98     QTMSBuffer* qtbuf(reinterpret_cast<QTMSBuffer*> (buf));
       
    99     emit QTMSClientSink::ProcessBuffer(qtbuf);
    97     }
   100     }
    98 
   101 
    99 // End of file
   102 // End of file