OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 |
(...skipping 17 matching lines...) Expand all Loading... |
28 // base->DeleteChannel(ch); | 28 // base->DeleteChannel(ch); |
29 // base->Terminate(); | 29 // base->Terminate(); |
30 // base->Release(); | 30 // base->Release(); |
31 // netw->Release(); | 31 // netw->Release(); |
32 // VoiceEngine::Delete(voe); | 32 // VoiceEngine::Delete(voe); |
33 // | 33 // |
34 #ifndef WEBRTC_VOICE_ENGINE_VOE_NETWORK_H | 34 #ifndef WEBRTC_VOICE_ENGINE_VOE_NETWORK_H |
35 #define WEBRTC_VOICE_ENGINE_VOE_NETWORK_H | 35 #define WEBRTC_VOICE_ENGINE_VOE_NETWORK_H |
36 | 36 |
37 #include "webrtc/common_types.h" | 37 #include "webrtc/common_types.h" |
| 38 #include "webrtc/transport.h" |
38 | 39 |
39 namespace webrtc { | 40 namespace webrtc { |
40 | 41 |
41 class VoiceEngine; | 42 class VoiceEngine; |
42 | 43 |
43 // VoENetwork | 44 // VoENetwork |
44 class WEBRTC_DLLEXPORT VoENetwork { | 45 class WEBRTC_DLLEXPORT VoENetwork { |
45 public: | 46 public: |
46 // Factory for the VoENetwork sub-API. Increases an internal | 47 // Factory for the VoENetwork sub-API. Increases an internal |
47 // reference counter if successful. Returns NULL if the API is not | 48 // reference counter if successful. Returns NULL if the API is not |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 size_t length) = 0; | 86 size_t length) = 0; |
86 | 87 |
87 protected: | 88 protected: |
88 VoENetwork() {} | 89 VoENetwork() {} |
89 virtual ~VoENetwork() {} | 90 virtual ~VoENetwork() {} |
90 }; | 91 }; |
91 | 92 |
92 } // namespace webrtc | 93 } // namespace webrtc |
93 | 94 |
94 #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_H | 95 #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_H |
OLD | NEW |