qtms/inc/qtmsdtmfimpl.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_DTMF_IMPL_H
       
    19 #define QTMS_DTMF_IMPL_H
       
    20 
       
    21 #include <tms.h>
       
    22 #include <tmsdtmfobsrvr.h>
       
    23 #include <qtms.h>
       
    24 #include <qtmsdtmf.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 namespace TMS {
       
    28 class TMSDTMF;
       
    29 }
       
    30 
       
    31 namespace QTMS {
       
    32 
       
    33 // QTMSDTMFImpl class
       
    34 class QTMSDTMFImpl : public QTMSDTMF,
       
    35                      public TMS::TMSDTMFObserver
       
    36     {
       
    37 public:
       
    38     static gint Create(QTMSDTMF*& qdtmf, TMS::TMSDTMF*& tmsdtmf);
       
    39     virtual ~QTMSDTMFImpl();
       
    40 
       
    41     gint AddObserver(TMS::TMSDTMFObserver& obsrvr, gpointer user_data);
       
    42     gint RemoveObserver(TMS::TMSDTMFObserver& obsrvr);
       
    43 
       
    44     //from TMS::TMSDTMFObserver
       
    45     void DTMFEvent(const TMS::TMSDTMF& dtmf, TMS::TMSSignalEvent event);
       
    46 
       
    47 private:
       
    48     QTMSDTMFImpl();
       
    49     gint PostConstruct();
       
    50     };
       
    51 
       
    52 } //namespace QTMS
       
    53 
       
    54 #endif // QTMS_DTMF_IMPL_H
       
    55 
       
    56 // End of file