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 16 matching lines...) Expand all Loading... |
27 // ... | 27 // ... |
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/api/call/transport.h" |
37 #include "webrtc/common_types.h" | 38 #include "webrtc/common_types.h" |
38 #include "webrtc/transport.h" | |
39 | 39 |
40 namespace webrtc { | 40 namespace webrtc { |
41 | 41 |
42 class VoiceEngine; | 42 class VoiceEngine; |
43 | 43 |
44 // VoENetwork | 44 // VoENetwork |
45 class WEBRTC_DLLEXPORT VoENetwork { | 45 class WEBRTC_DLLEXPORT VoENetwork { |
46 public: | 46 public: |
47 // Factory for the VoENetwork sub-API. Increases an internal | 47 // Factory for the VoENetwork sub-API. Increases an internal |
48 // 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... |
86 size_t length) = 0; | 86 size_t length) = 0; |
87 | 87 |
88 protected: | 88 protected: |
89 VoENetwork() {} | 89 VoENetwork() {} |
90 virtual ~VoENetwork() {} | 90 virtual ~VoENetwork() {} |
91 }; | 91 }; |
92 | 92 |
93 } // namespace webrtc | 93 } // namespace webrtc |
94 | 94 |
95 #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_H | 95 #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_H |
OLD | NEW |