mmappfw_plat/qt_telephony_multimedia_service_api/inc/qtmsclientsink.h
changeset 40 4a1905d205a2
parent 27 cbb1bfb7ebfb
child 50 762d760dcfdf
equal deleted inserted replaced
39:1d92fd018dd4 40:4a1905d205a2
    16  */
    16  */
    17 
    17 
    18 #ifndef QTMS_CLIENT_SINK_H
    18 #ifndef QTMS_CLIENT_SINK_H
    19 #define QTMS_CLIENT_SINK_H
    19 #define QTMS_CLIENT_SINK_H
    20 
    20 
       
    21 #include <QObject>
    21 #include <qtms.h>
    22 #include <qtms.h>
       
    23 #include <qtmsbuffer.h>
    22 #include <qtmssink.h>
    24 #include <qtmssink.h>
    23 #include <QObject>
       
    24 #include <qglobal.h>
    25 #include <qglobal.h>
    25 #include "qtmswrapperexport.h"
    26 #include "qtmswrapperexport.h"
    26 
    27 
    27 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    28 namespace TMS {
    29 namespace TMS {
    29 class TMSSink;
    30 class TMSSink;
    30 class TMSBuffer;
       
    31 }
    31 }
    32 
    32 
    33 namespace QTMS {
    33 namespace QTMS {
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 class QTMSBuffer;
       
    37 
    34 
    38 /**
    35 /**
    39  * QTMSClientSink class
    36  * QTMSClientSink class
    40  *
    37  *
    41  * This class provides QTMS client sink interface. It serves as a data sink
    38  * This class provides QTMS client sink interface. It serves as a data sink
    72      *
    69      *
    73      * @return
    70      * @return
    74      *      Status of the operation.
    71      *      Status of the operation.
    75      *
    72      *
    76      */
    73      */
    77     gint BufferProcessed(TMS::TMSBuffer* buffer);
    74     gint BufferProcessed(QTMSBuffer* buffer);
    78 
    75 
    79     /**
    76     /**
    80      * Return sink type.
    77      * Return sink type.
    81      *
    78      *
    82      * This function can be called at any time.
    79      * This function can be called at any time.
    89      *
    86      *
    90      */
    87      */
    91     virtual gint GetType(QTMSSinkType& sinktype);
    88     virtual gint GetType(QTMSSinkType& sinktype);
    92 
    89 
    93     Q_SIGNALS:
    90     Q_SIGNALS:
    94     void ProcessBuffer(const TMS::TMSBuffer* buffer);
    91     void ProcessBuffer(const QTMSBuffer* buffer);
    95 
    92 
    96 protected:
    93 protected:
    97     /**
    94     /**
    98      * Constructor
    95      * Constructor
    99      */
    96      */