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_MODULES_MEDIA_FILE_INTERFACE_MEDIA_FILE_DEFINES_H_ | 11 #ifndef WEBRTC_MODULES_MEDIA_FILE_INCLUDE_MEDIA_FILE_DEFINES_H_ |
12 #define WEBRTC_MODULES_MEDIA_FILE_INTERFACE_MEDIA_FILE_DEFINES_H_ | 12 #define WEBRTC_MODULES_MEDIA_FILE_INCLUDE_MEDIA_FILE_DEFINES_H_ |
| 13 |
| 14 #pragma message("WARNING: media_file/interface is DEPRECATED; use media_file/inc
lude") |
13 | 15 |
14 #include "webrtc/engine_configurations.h" | 16 #include "webrtc/engine_configurations.h" |
15 #include "webrtc/modules/interface/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
16 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
17 | 19 |
18 namespace webrtc { | 20 namespace webrtc { |
19 // Callback class for the MediaFile class. | 21 // Callback class for the MediaFile class. |
20 class FileCallback | 22 class FileCallback |
21 { | 23 { |
22 public: | 24 public: |
23 virtual ~FileCallback(){} | 25 virtual ~FileCallback(){} |
24 | 26 |
25 // This function is called by MediaFile when a file has been playing for | 27 // This function is called by MediaFile when a file has been playing for |
(...skipping 15 matching lines...) Expand all Loading... |
41 | 43 |
42 // This function is called by MediaFile when a file has been stopped | 44 // This function is called by MediaFile when a file has been stopped |
43 // recording. id is the identifier for the MediaFile instance calling the | 45 // recording. id is the identifier for the MediaFile instance calling the |
44 // callback. | 46 // callback. |
45 virtual void RecordFileEnded(const int32_t id) = 0; | 47 virtual void RecordFileEnded(const int32_t id) = 0; |
46 | 48 |
47 protected: | 49 protected: |
48 FileCallback() {} | 50 FileCallback() {} |
49 }; | 51 }; |
50 } // namespace webrtc | 52 } // namespace webrtc |
51 #endif // WEBRTC_MODULES_MEDIA_FILE_INTERFACE_MEDIA_FILE_DEFINES_H_ | 53 #endif // WEBRTC_MODULES_MEDIA_FILE_INCLUDE_MEDIA_FILE_DEFINES_H_ |
OLD | NEW |