Mypal68/widget/android/AndroidUiThread.h
2022-04-16 07:41:55 +03:00

25 lines
588 B
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef AndroidUiThread_h__
#define AndroidUiThread_h__
#include <mozilla/RefPtr.h>
#include <nsThread.h>
class MessageLoop;
namespace mozilla {
void CreateAndroidUiThread();
void DestroyAndroidUiThread();
int64_t RunAndroidUiTasks();
MessageLoop* GetAndroidUiThreadMessageLoop();
RefPtr<nsThread> GetAndroidUiThread();
} // namespace mozilla
#endif // AndroidUiThread_h__