| 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_API_DTMFSENDER_H_ | 11 #ifndef WEBRTC_API_DTMFSENDER_H_ |
| 12 #define WEBRTC_API_DTMFSENDER_H_ | 12 #define WEBRTC_API_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/base/common.h" | 19 #include "webrtc/base/common.h" |
| 20 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/messagehandler.h" | 21 #include "webrtc/base/messagehandler.h" |
| 21 #include "webrtc/base/refcount.h" | 22 #include "webrtc/base/refcount.h" |
| 22 | 23 |
| 23 // DtmfSender is the native implementation of the RTCDTMFSender defined by | 24 // DtmfSender is the native implementation of the RTCDTMFSender defined by |
| 24 // the WebRTC W3C Editor's Draft. | 25 // the WebRTC W3C Editor's Draft. |
| 25 // http://dev.w3.org/2011/webrtc/editor/webrtc.html | 26 // http://dev.w3.org/2011/webrtc/editor/webrtc.html |
| 26 | 27 |
| 27 namespace rtc { | 28 namespace rtc { |
| 28 class Thread; | 29 class Thread; |
| 29 } | 30 } |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 PROXY_CONSTMETHOD0(int, duration) | 114 PROXY_CONSTMETHOD0(int, duration) |
| 114 PROXY_CONSTMETHOD0(int, inter_tone_gap) | 115 PROXY_CONSTMETHOD0(int, inter_tone_gap) |
| 115 END_SIGNALING_PROXY() | 116 END_SIGNALING_PROXY() |
| 116 | 117 |
| 117 // Get DTMF code from the DTMF event character. | 118 // Get DTMF code from the DTMF event character. |
| 118 bool GetDtmfCode(char tone, int* code); | 119 bool GetDtmfCode(char tone, int* code); |
| 119 | 120 |
| 120 } // namespace webrtc | 121 } // namespace webrtc |
| 121 | 122 |
| 122 #endif // WEBRTC_API_DTMFSENDER_H_ | 123 #endif // WEBRTC_API_DTMFSENDER_H_ |
| OLD | NEW |