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 |
11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_FILE_WRAPPER_H_ | 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FILE_WRAPPER_H_ |
12 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_FILE_WRAPPER_H_ | 12 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FILE_WRAPPER_H_ |
13 | 13 |
14 #include <stddef.h> | 14 #include <stddef.h> |
15 #include <stdio.h> | 15 #include <stdio.h> |
16 | 16 |
17 #include "webrtc/common_types.h" | 17 #include "webrtc/common_types.h" |
18 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
19 | 19 |
20 // Implementation of an InStream and OutStream that can read (exclusive) or | 20 // Implementation of an InStream and OutStream that can read (exclusive) or |
21 // write from/to a file. | 21 // write from/to a file. |
22 | 22 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // Inherited from both Instream and OutStream. | 69 // Inherited from both Instream and OutStream. |
70 // Rewinds the file to the start. Only available when OpenFile() has been | 70 // Rewinds the file to the start. Only available when OpenFile() has been |
71 // called with |loop| == true or |readOnly| == true. | 71 // called with |loop| == true or |readOnly| == true. |
72 // virtual int Rewind() = 0; | 72 // virtual int Rewind() = 0; |
73 int Rewind() override; | 73 int Rewind() override; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace webrtc | 76 } // namespace webrtc |
77 | 77 |
78 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_FILE_WRAPPER_H_ | 78 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FILE_WRAPPER_H_ |
OLD | NEW |