blob: c06404f777b919f170edb9c24375508590b70815 [file] [log] [blame]
tkchin5ed5ed92016-03-08 10:51:54 -08001/*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_
12#define WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_
13
14#include "webrtc/base/objc/RTCMacros.h"
15
16#if defined(WEBRTC_IOS)
17/** Convenience function to get UIApplicationState from C++. */
18RTC_EXPORT bool RTCIsUIApplicationActive();
19#endif // WEBRTC_IOS
20
21#endif // WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_