qtms/inc/qtmsclientsourceimpl.h
changeset 51 e61a04404bdf
parent 27 cbb1bfb7ebfb
equal deleted inserted replaced
44:d141fc1ad77b 51:e61a04404bdf
    21 #include <qtms.h>
    21 #include <qtms.h>
    22 #include <qtmsclientsource.h>
    22 #include <qtmsclientsource.h>
    23 #include <tmsclientsourceobsrvr.h>
    23 #include <tmsclientsourceobsrvr.h>
    24 
    24 
    25 // FORWARD DECLARATIONS
    25 // FORWARD DECLARATIONS
    26 namespace TMS {
    26 namespace TMS
       
    27 {
    27 class TMSBuffer;
    28 class TMSBuffer;
    28 class TMSSource;
    29 class TMSSource;
    29 }
    30 }
    30 
    31 
    31 namespace QTMS {
    32 namespace QTMS
       
    33 {
    32 
    34 
    33 // QTMSClientSourceImpl class
    35 // QTMSClientSourceImpl class
    34 class QTMSClientSourceImpl : public QTMSClientSource,
    36 class QTMSClientSourceImpl: public QTMSClientSource, public TMS::TMSClientSourceObserver
    35                              public TMS::TMSClientSourceObserver
    37 {
    36     {
       
    37 public:
    38 public:
    38 
    39 
    39     static gint Create(QTMSSource*& qsource, TMS::TMSSource*& tmssource);
    40     static gint Create(QTMSSource*& qsource, TMS::TMSSource*& tmssource);
    40     virtual ~QTMSClientSourceImpl();
    41     virtual ~QTMSClientSourceImpl();
    41 
    42 
    49     void BufferProcessed(const TMS::TMSBuffer* buffer, gint reason);
    50     void BufferProcessed(const TMS::TMSBuffer* buffer, gint reason);
    50 
    51 
    51 private:
    52 private:
    52     QTMSClientSourceImpl();
    53     QTMSClientSourceImpl();
    53     gint PostConstruct();
    54     gint PostConstruct();
    54     };
    55 };
    55 
    56 
    56 } //namespace QTMS
    57 } //namespace QTMS
    57 
    58 
    58 #endif // QTMS_CLIENT_SOURCE_IMPL_H
    59 #endif // QTMS_CLIENT_SOURCE_IMPL_H
    59 
       
    60 // End of file
    60 // End of file