| Index: webrtc/base/objc/RTCUIApplication.h
|
| diff --git a/webrtc/base/objc/RTCMacros.h b/webrtc/base/objc/RTCUIApplication.h
|
| similarity index 54%
|
| copy from webrtc/base/objc/RTCMacros.h
|
| copy to webrtc/base/objc/RTCUIApplication.h
|
| index 9d4646bd2187cfd6990677ae77037bd7b6754a53..c06404f777b919f170edb9c24375508590b70815 100644
|
| --- a/webrtc/base/objc/RTCMacros.h
|
| +++ b/webrtc/base/objc/RTCUIApplication.h
|
| @@ -8,8 +8,14 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#if defined(__cplusplus)
|
| - #define RTC_EXPORT extern "C"
|
| -#else
|
| - #define RTC_EXPORT extern
|
| -#endif
|
| +#ifndef WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_
|
| +#define WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_
|
| +
|
| +#include "webrtc/base/objc/RTCMacros.h"
|
| +
|
| +#if defined(WEBRTC_IOS)
|
| +/** Convenience function to get UIApplicationState from C++. */
|
| +RTC_EXPORT bool RTCIsUIApplicationActive();
|
| +#endif // WEBRTC_IOS
|
| +
|
| +#endif // WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_
|
|
|