OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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_BASE_LATEBINDINGSYMBOLTABLE_H_ | 11 #ifndef WEBRTC_BASE_LATEBINDINGSYMBOLTABLE_H_ |
12 #define WEBRTC_BASE_LATEBINDINGSYMBOLTABLE_H_ | 12 #define WEBRTC_BASE_LATEBINDINGSYMBOLTABLE_H_ |
13 | 13 |
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #include "webrtc/base/common.h" | 16 #include "webrtc/base/common.h" |
| 17 #include "webrtc/base/constructormagic.h" |
17 | 18 |
18 namespace rtc { | 19 namespace rtc { |
19 | 20 |
20 #if defined(WEBRTC_POSIX) | 21 #if defined(WEBRTC_POSIX) |
21 typedef void *DllHandle; | 22 typedef void *DllHandle; |
22 #else | 23 #else |
23 #error Not implemented for this platform | 24 #error Not implemented for this platform |
24 #endif | 25 #endif |
25 | 26 |
26 // This is the base class for "symbol table" classes to simplify the dynamic | 27 // This is the base class for "symbol table" classes to simplify the dynamic |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void **table_; | 61 void **table_; |
61 DllHandle handle_; | 62 DllHandle handle_; |
62 bool undefined_symbols_; | 63 bool undefined_symbols_; |
63 | 64 |
64 RTC_DISALLOW_COPY_AND_ASSIGN(LateBindingSymbolTable); | 65 RTC_DISALLOW_COPY_AND_ASSIGN(LateBindingSymbolTable); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace rtc | 68 } // namespace rtc |
68 | 69 |
69 #endif // WEBRTC_BASE_LATEBINDINGSYMBOLTABLE_H_ | 70 #endif // WEBRTC_BASE_LATEBINDINGSYMBOLTABLE_H_ |
OLD | NEW |