qtms/src/qtmsg729.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
child 59 666f9a5a90a9
equal deleted inserted replaced
55:6c1dfe4da5dd 56:63223d4fd956
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: QT Bindings for TMS
       
    15  *
       
    16  */
       
    17 
       
    18 #include <tmsg729format.h>
       
    19 #include <qtmsg729format.h>
       
    20 #include "tmsutility.h"
       
    21 
       
    22 using namespace QTMS;
       
    23 using namespace TMS;
       
    24 
       
    25 QTMSG729Format::QTMSG729Format()
       
    26 {
       
    27 }
       
    28 
       
    29 QTMSG729Format::~QTMSG729Format()
       
    30 {
       
    31 }
       
    32 
       
    33 gint QTMSG729Format::SetVADMode(const gboolean aVad)
       
    34 {
       
    35     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
       
    36     if (iFormat) {
       
    37         status = static_cast<TMSG729Format*> (iFormat)->SetVADMode(aVad);
       
    38     }
       
    39     return status;
       
    40 }
       
    41 
       
    42 gint QTMSG729Format::GetVADMode(gboolean& aVad)
       
    43 {
       
    44     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
       
    45     if (iFormat) {
       
    46         status = static_cast<TMSG729Format*> (iFormat)->GetVADMode(aVad);
       
    47     }
       
    48     return status;
       
    49 }
       
    50 
       
    51 // End of file