--- a/mmappfw_plat/qt_telephony_multimedia_service_api/inc/qtmsbuffer.h Thu Jun 17 11:11:56 2010 -0500
+++ b/mmappfw_plat/qt_telephony_multimedia_service_api/inc/qtmsbuffer.h Fri Jun 25 17:07:52 2010 -0500
@@ -19,7 +19,6 @@
#define QTMS_BUFFER_H
#include <qtms.h>
-#include <QObject>
namespace QTMS {
@@ -33,10 +32,14 @@
* @lib QTMSapi.lib
*
*/
-class QTMSBuffer : public QObject
+class QTMSBuffer
{
- Q_OBJECT
public:
+ /*
+ * Destructor
+ */
+ virtual ~QTMSBuffer() {}
+
/**
* Return buffer type.
*
@@ -44,7 +47,8 @@
* Type of the buffer object (QTMS_BUFFER_MEMORY).
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint GetType(QTMSBufferType& buftype) = 0;
@@ -58,7 +62,8 @@
* Time stamp in microseconds.
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint GetTimeStamp(guint64& ts) = 0;
@@ -72,7 +77,8 @@
* Time stamp in microseconds.
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint SetTimeStamp(const guint64 ts) = 0;
@@ -84,7 +90,8 @@
* Size of data in the buffer.
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint GetDataSize(guint& size) = 0;
@@ -96,7 +103,8 @@
* Size of data in the buffer.
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint SetDataSize(const guint size) = 0;
@@ -109,7 +117,8 @@
* Pointer to the data stored in the buffer.
*
* @return
- * QTMS_RESULT_SUCCESS if the operation was successful.
+ * QTMS_RESULT_SUCCESS if the operation was successful otherwise
+ * system error.
*
*/
virtual gint GetDataPtr(guint8*& bufptr) = 0;