Bug 1253840 - Remove .ini file as it's no longer necessary by passing on all platform...
[gecko.git] / widget / android / AndroidUiThread.h
blobaf722fb048519c1fe5c5bcf994963b8fbb315c17
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef AndroidUiThread_h__
7 #define AndroidUiThread_h__
9 #include <mozilla/RefPtr.h>
10 #include <nsThread.h>
12 class MessageLoop;
14 namespace mozilla {
16 void CreateAndroidUiThread();
17 void DestroyAndroidUiThread();
18 int64_t RunAndroidUiTasks();
20 MessageLoop* GetAndroidUiThreadMessageLoop();
21 RefPtr<nsThread> GetAndroidUiThread();
23 } // namespace mozilla
25 #endif // AndroidUiThread_h__