| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_PC_DTMFSENDER_H_ | 11 #ifndef WEBRTC_PC_DTMFSENDER_H_ |
| 12 #define WEBRTC_PC_DTMFSENDER_H_ | 12 #define WEBRTC_PC_DTMFSENDER_H_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "webrtc/api/dtmfsenderinterface.h" | 16 #include "webrtc/api/dtmfsenderinterface.h" |
| 17 #include "webrtc/api/mediastreaminterface.h" | 17 #include "webrtc/api/mediastreaminterface.h" |
| 18 #include "webrtc/api/proxy.h" | 18 #include "webrtc/api/proxy.h" |
| 19 #include "webrtc/rtc_base/constructormagic.h" | 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/rtc_base/messagehandler.h" | 20 #include "webrtc/base/messagehandler.h" |
| 21 #include "webrtc/rtc_base/refcount.h" | 21 #include "webrtc/base/refcount.h" |
| 22 | 22 |
| 23 // DtmfSender is the native implementation of the RTCDTMFSender defined by | 23 // DtmfSender is the native implementation of the RTCDTMFSender defined by |
| 24 // the WebRTC W3C Editor's Draft. | 24 // the WebRTC W3C Editor's Draft. |
| 25 // http://dev.w3.org/2011/webrtc/editor/webrtc.html | 25 // http://dev.w3.org/2011/webrtc/editor/webrtc.html |
| 26 | 26 |
| 27 namespace rtc { | 27 namespace rtc { |
| 28 class Thread; | 28 class Thread; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace webrtc { | 31 namespace webrtc { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 PROXY_CONSTMETHOD0(int, duration) | 115 PROXY_CONSTMETHOD0(int, duration) |
| 116 PROXY_CONSTMETHOD0(int, inter_tone_gap) | 116 PROXY_CONSTMETHOD0(int, inter_tone_gap) |
| 117 END_PROXY_MAP() | 117 END_PROXY_MAP() |
| 118 | 118 |
| 119 // Get DTMF code from the DTMF event character. | 119 // Get DTMF code from the DTMF event character. |
| 120 bool GetDtmfCode(char tone, int* code); | 120 bool GetDtmfCode(char tone, int* code); |
| 121 | 121 |
| 122 } // namespace webrtc | 122 } // namespace webrtc |
| 123 | 123 |
| 124 #endif // WEBRTC_PC_DTMFSENDER_H_ | 124 #endif // WEBRTC_PC_DTMFSENDER_H_ |
| OLD | NEW |