equal
deleted
inserted
replaced
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 { |
|
29 class TMSDTMF; |
|
30 } |
|
31 |
|
32 namespace QTMS |
|
33 { |
|
34 |
|
35 // QTMSDTMFImpl class |
|
36 class QTMSDTMFImpl: public QTMSDTMF, public TMS::TMSDTMFObserver |
|
37 { |
|
38 public: |
|
39 static gint Create(QTMSDTMF*& qdtmf, TMS::TMSDTMF*& tmsdtmf); |
|
40 virtual ~QTMSDTMFImpl(); |
|
41 |
|
42 gint AddObserver(TMS::TMSDTMFObserver& obsrvr, gpointer user_data); |
|
43 gint RemoveObserver(TMS::TMSDTMFObserver& obsrvr); |
|
44 |
|
45 //from TMS::TMSDTMFObserver |
|
46 void DTMFEvent(const TMS::TMSDTMF& dtmf, TMS::TMSSignalEvent event); |
|
47 |
|
48 private: |
|
49 QTMSDTMFImpl(); |
|
50 gint PostConstruct(); |
|
51 }; |
|
52 |
|
53 } //namespace QTMS |
|
54 |
|
55 #endif // QTMS_DTMF_IMPL_H |
|
56 // End of file |
|