mmmw_plat/voip_audio_services_api/inc/voipdatabuffer.h
branchRCL_3
changeset 3 4f62049db6ac
parent 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
0:71ca22bcf22a 3:4f62049db6ac
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
     2  * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  Defines buffer type for VoIP data streaming.
    14  * Description:  Defines buffer type for VoIP data streaming.
    15 *
    15  *
    16 */
    16  */
    17 
       
    18 
    17 
    19 #ifndef __VOIPDATABUFFER_H
    18 #ifndef __VOIPDATABUFFER_H
    20 #define __VOIPDATABUFFER_H
    19 #define __VOIPDATABUFFER_H
    21 
    20 
    22 #include <e32base.h>
    21 #include <e32base.h>
    23 
    22 
    24 
       
    25 // FORWARD DECLARATIONS
    23 // FORWARD DECLARATIONS
    26 class CVoIPDataBufferImpl;
    24 class CVoIPDataBufferImpl;
    27 class CVoIPJBDataBufferImpl;
    25 class CVoIPJBDataBufferImpl;
    28 
    26 
    29 
       
    30 /**
    27 /**
    31  *  CVoIPDataBuffer
    28  *  CVoIPDataBuffer
    32  *  ?description
    29  *  ?description
    33  *  @since S60 v5.0
    30  *
    34  */
    31  */
    35 class CVoIPDataBuffer
    32 class CVoIPDataBuffer
    36     {
    33     {
    37 public:
    34 public:
    38     /**
    35     /**
    39     * Buffer types
    36      * Buffer types
    40     */
    37      */
    41     enum TVoIPBufferType
    38     enum TVoIPBufferType
    42         {
    39         {
    43         EStandard,
    40         EStandard,
    44         EJitterBuffer
    41         EJitterBuffer
    45         };
    42         };
    99      * @return void
    96      * @return void
   100      */
    97      */
   101     void ConstructL(CVoIPDataBufferImpl* aVoIPDataBufferImpl);
    98     void ConstructL(CVoIPDataBufferImpl* aVoIPDataBufferImpl);
   102 
    99 
   103 private:
   100 private:
       
   101 
   104     CVoIPDataBufferImpl* iVoIPDataBufferImpl;
   102     CVoIPDataBufferImpl* iVoIPDataBufferImpl;
   105 
   103 
   106     };
   104     };
   107 
   105 
   108 
       
   109 /**
   106 /**
   110  *  CVoIPJBDataBuffer
   107  *  CVoIPJBDataBuffer
   111  *  ?description
   108  *  ?description
   112  *  @since S60 v5.0
   109  *
   113  */
   110  */
   114 class CVoIPJBDataBuffer : public CVoIPDataBuffer
   111 class CVoIPJBDataBuffer : public CVoIPDataBuffer
   115     {
   112     {
   116 public:
   113 public:
   117     /**
   114     /**
   159      * @return void
   156      * @return void
   160      */
   157      */
   161     void ConstructL(CVoIPJBDataBufferImpl* aVoIPJBDataBufferImpl);
   158     void ConstructL(CVoIPJBDataBufferImpl* aVoIPJBDataBufferImpl);
   162 
   159 
   163 private:
   160 private:
       
   161 
   164     CVoIPJBDataBufferImpl* iVoIPJBDataBufferImpl;
   162     CVoIPJBDataBufferImpl* iVoIPJBDataBufferImpl;
   165 
   163 
   166     };
   164     };
   167 
   165 
   168 #endif //__VOIPDATABUFFER_H
   166 #endif //__VOIPDATABUFFER_H
   169 
   167 
   170 
       
   171 // End of file
   168 // End of file