mmserv/tms/tmsapi/src/tmsmodemsource.cpp
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2  * Copyright (c) 2009 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: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #include <tmsmodemsource.h>
       
    19 #include "tmsmodemsourcebody.h"
       
    20 
       
    21 using namespace TMS;
       
    22 
       
    23 EXPORT_C TMSModemSource::TMSModemSource() :
       
    24     iBody(NULL)
       
    25     {
       
    26     }
       
    27 
       
    28 EXPORT_C TMSModemSource::~TMSModemSource()
       
    29     {
       
    30     delete iBody;
       
    31     }
       
    32 
       
    33 EXPORT_C gint TMSModemSource::GetType(TMSSourceType& sourcetype)
       
    34     {
       
    35     gint status(TMS_RESULT_UNINITIALIZED_OBJECT);
       
    36     if (iBody)
       
    37         {
       
    38         status = iBody->GetType(sourcetype);
       
    39         }
       
    40     return status;
       
    41     }
       
    42 
       
    43 // End of file