equal
deleted
inserted
replaced
18 #ifndef QTMS_BUFFER_H |
18 #ifndef QTMS_BUFFER_H |
19 #define QTMS_BUFFER_H |
19 #define QTMS_BUFFER_H |
20 |
20 |
21 #include <qtms.h> |
21 #include <qtms.h> |
22 |
22 |
23 namespace QTMS { |
23 namespace QTMS |
|
24 { |
24 |
25 |
25 /** |
26 /** |
26 * QTMSBuffer class |
27 * QTMSBuffer class |
27 * |
28 * |
28 * This interface provides data buffers to QTMS clients. This class allows |
29 * This interface provides data buffers to QTMS clients. This class allows |
31 * |
32 * |
32 * @lib QTMSapi.lib |
33 * @lib QTMSapi.lib |
33 * |
34 * |
34 */ |
35 */ |
35 class QTMSBuffer |
36 class QTMSBuffer |
36 { |
37 { |
37 public: |
38 public: |
38 /* |
39 /* |
39 * Destructor |
40 * Destructor |
40 */ |
41 */ |
41 virtual ~QTMSBuffer() {} |
42 virtual ~QTMSBuffer() |
|
43 { |
|
44 } |
42 |
45 |
43 /** |
46 /** |
44 * Return buffer type. |
47 * Return buffer type. |
45 * |
48 * |
46 * @param buftype |
49 * @param buftype |
120 * QTMS_RESULT_SUCCESS if the operation was successful otherwise |
123 * QTMS_RESULT_SUCCESS if the operation was successful otherwise |
121 * system error. |
124 * system error. |
122 * |
125 * |
123 */ |
126 */ |
124 virtual gint GetDataPtr(guint8*& bufptr) = 0; |
127 virtual gint GetDataPtr(guint8*& bufptr) = 0; |
125 }; |
128 }; |
126 |
129 |
127 } //namespace QTMS |
130 } //namespace QTMS |
128 |
131 |
129 #endif //QTMS_BUFFER_H |
132 #endif //QTMS_BUFFER_H |