mmmw_plat/telephony_multimedia_service_api/inc/tmsmicsource.h
changeset 0 71ca22bcf22a
child 18 2eb3b066cc7d
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 #ifndef TMS_MIC_SOURCE_H
       
    19 #define TMS_MIC_SOURCE_H
       
    20 
       
    21 #include <tms.h>
       
    22 #include <tmssource.h>
       
    23 
       
    24 namespace TMS {
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class TMSMicSourceBody;
       
    28 
       
    29 /**
       
    30  * TMSMicSource class
       
    31  *
       
    32  * This class instantiates TMS mic source object.
       
    33  *
       
    34  * @lib tmsapi.lib
       
    35  *
       
    36  */
       
    37 class TMSMicSource : public TMSSource
       
    38     {
       
    39 public:
       
    40     /**
       
    41      * Destructor
       
    42      */
       
    43     IMPORT_C virtual ~TMSMicSource();
       
    44 
       
    45     /**
       
    46      * Return source type.
       
    47      *
       
    48      * This function can be called at any time.
       
    49      *
       
    50      * @param  sourcetype
       
    51      *      The type of sink object (TMS_SOURCE_MIC).
       
    52      *
       
    53      * @return
       
    54      *      TMS_RESULT_SUCCESS if the operation was successful.
       
    55      *
       
    56      */
       
    57     IMPORT_C virtual gint GetType(TMSSourceType& sourcetype);
       
    58 
       
    59 protected:
       
    60     /**
       
    61      * Constructor
       
    62      */
       
    63     IMPORT_C TMSMicSource();
       
    64 
       
    65 protected:
       
    66     TMSMicSourceBody *iBody;
       
    67     };
       
    68 
       
    69 } //namespace TMS
       
    70 
       
    71 #endif //TMS_MIC_SOURCE_H
       
    72 
       
    73 // End of file
       
    74