OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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_UTILITY_INTERFACE_HELPERS_IOS_H_ | 11 #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ |
12 #define WEBRTC_MODULES_UTILITY_INTERFACE_HELPERS_IOS_H_ | 12 #define WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ |
| 13 |
| 14 #pragma message("WARNING: utility/interface is DEPRECATED; use utility/include") |
13 | 15 |
14 #if defined(WEBRTC_IOS) | 16 #if defined(WEBRTC_IOS) |
15 | 17 |
16 #include <string> | 18 #include <string> |
17 | 19 |
18 namespace webrtc { | 20 namespace webrtc { |
19 namespace ios { | 21 namespace ios { |
20 | 22 |
21 bool CheckAndLogError(BOOL success, NSError* error); | 23 bool CheckAndLogError(BOOL success, NSError* error); |
22 | 24 |
(...skipping 26 matching lines...) Expand all Loading... |
49 | 51 |
50 // Returns a more detailed device name. | 52 // Returns a more detailed device name. |
51 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". | 53 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". |
52 std::string GetDeviceName(); | 54 std::string GetDeviceName(); |
53 | 55 |
54 } // namespace ios | 56 } // namespace ios |
55 } // namespace webrtc | 57 } // namespace webrtc |
56 | 58 |
57 #endif // defined(WEBRTC_IOS) | 59 #endif // defined(WEBRTC_IOS) |
58 | 60 |
59 #endif // WEBRTC_MODULES_UTILITY_INTERFACE_HELPERS_IOS_H_ | 61 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ |
OLD | NEW |