mmmw_plat/telephony_multimedia_service_api/inc/tmsbuffer.h
branchRCL_3
changeset 12 2eb3b066cc7d
parent 0 71ca22bcf22a
--- a/mmmw_plat/telephony_multimedia_service_api/inc/tmsbuffer.h	Tue May 11 16:42:02 2010 +0300
+++ b/mmmw_plat/telephony_multimedia_service_api/inc/tmsbuffer.h	Tue May 25 13:16:00 2010 +0300
@@ -35,6 +35,11 @@
 class TMSBuffer
     {
 public:
+    /*
+     * Destructor
+     */
+    virtual ~TMSBuffer() {}
+
     /**
      * Return buffer type.
      *
@@ -42,7 +47,8 @@
      *      Type of the buffer object (TMS_BUFFER_MEMORY).
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint GetType(TMSBufferType& buftype) = 0;
@@ -56,7 +62,8 @@
      *      Time stamp in microseconds.
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint GetTimeStamp(guint64& ts) = 0;
@@ -70,7 +77,8 @@
      *      Time stamp in microseconds.
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint SetTimeStamp(const guint64 ts) = 0;
@@ -82,7 +90,8 @@
      *      Size of data in the buffer.
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint GetDataSize(guint& size) = 0;
@@ -94,7 +103,8 @@
      *      Size of data in the buffer.
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint SetDataSize(const guint size) = 0;
@@ -107,7 +117,8 @@
      *      Pointer to the data stored in the buffer.
      *
      * @return
-     *      TMS_RESULT_SUCCESS if the operation was successful.
+     *      TMS_RESULT_SUCCESS if the operation was successful otherwise
+     *      system error.
      *
      */
     virtual gint GetDataPtr(guint8*& bufptr) = 0;