qtms/inc/qtmsinbandtoneimpl.h
changeset 27 cbb1bfb7ebfb
child 50 762d760dcfdf
equal deleted inserted replaced
25:d881023c13eb 27:cbb1bfb7ebfb
       
     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_INBAND_IMPL_H
       
    19 #define QTMS_INBAND_IMPL_H
       
    20 
       
    21 #include <tmsinbandtoneobsrvr.h>
       
    22 #include <qtms.h>
       
    23 #include <qtmsinbandtone.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 namespace TMS {
       
    27 class TMSInbandTone;
       
    28 }
       
    29 
       
    30 namespace QTMS {
       
    31 
       
    32 // QTMSInbandImpl class
       
    33 class QTMSInbandToneImpl : public QTMSInbandTone,
       
    34                            public TMS::TMSInbandToneObserver
       
    35     {
       
    36 public:
       
    37     static gint Create(QTMSInbandTone*& qinband,
       
    38             TMS::TMSInbandTone*& tmsinband);
       
    39     virtual ~QTMSInbandToneImpl();
       
    40 
       
    41     gint AddObserver(TMS::TMSInbandToneObserver& obsrvr, gpointer user_data);
       
    42     gint RemoveObserver(TMS::TMSInbandToneObserver& obsrvr);
       
    43 
       
    44     //from TMS::TMSInbandToneObserver
       
    45     void InbandToneEvent(const TMS::TMSInbandTone& inbandtone,
       
    46             TMS::TMSSignalEvent event);
       
    47 
       
    48 private:
       
    49     QTMSInbandToneImpl();
       
    50     gint PostConstruct();
       
    51     };
       
    52 
       
    53 } //namespace QTMS
       
    54 
       
    55 #endif // QTMS_DTMF_IMPL_H
       
    56 
       
    57 // End of file