mmappfw_plat/qt_telephony_multimedia_service_api/inc/qtmssink.h
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 #ifndef QTMS_SINK_H
       
    19 #define QTMS_SINK_H
       
    20 
       
    21 #include <qtms.h>
       
    22 
       
    23 namespace QTMS
       
    24 {
       
    25 
       
    26 /**
       
    27  * QTMSSink class
       
    28  *
       
    29  * Base class for QTMS data sink type objects.
       
    30  *
       
    31  * @lib QTMSapi.lib
       
    32  *
       
    33  */
       
    34 class QTMSSink
       
    35 {
       
    36 public:
       
    37     /**
       
    38      * Returns type of the concrete data sink object implementation.
       
    39      *
       
    40      * This function can be called at any time.
       
    41      *
       
    42      * @param  sinktype&
       
    43      *      Contains data sink type on return.
       
    44      *
       
    45      * @return
       
    46      *      QTMS_RESULT_SUCCESS if sink type is returned successfully.
       
    47      *
       
    48      */
       
    49     virtual gint GetType(QTMSSinkType& sinktype) = 0;
       
    50 };
       
    51 
       
    52 } //namespace QTMS
       
    53 
       
    54 #endif //QTMS_SINK_H