2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2005-03-19 00:24:05 +03:00
|
|
|
|
|
|
|
#include "nsXULAppAPI.h"
|
|
|
|
|
|
|
|
void xxxNeverCalledXUL()
|
|
|
|
{
|
2012-07-30 18:20:58 +04:00
|
|
|
XRE_main(0, nullptr, nullptr, 0);
|
|
|
|
XRE_GetFileFromPath(nullptr, nullptr);
|
|
|
|
XRE_LockProfileDirectory(nullptr, nullptr);
|
|
|
|
XRE_InitEmbedding2(nullptr, nullptr, nullptr);
|
2006-01-12 18:29:10 +03:00
|
|
|
XRE_NotifyProfile();
|
2005-09-01 17:21:55 +04:00
|
|
|
XRE_TermEmbedding();
|
2012-07-30 18:20:58 +04:00
|
|
|
XRE_CreateAppData(nullptr, nullptr);
|
|
|
|
XRE_ParseAppData(nullptr, nullptr);
|
|
|
|
XRE_FreeAppData(nullptr);
|
2009-08-19 21:09:51 +04:00
|
|
|
XRE_ChildProcessTypeToString(GeckoProcessType_Default);
|
2009-07-11 10:33:10 +04:00
|
|
|
XRE_StringToChildProcessType("");
|
2009-10-23 23:36:25 +04:00
|
|
|
XRE_GetProcessType();
|
2012-07-30 18:20:58 +04:00
|
|
|
XRE_InitChildProcess(0, nullptr, GeckoProcessType_Default);
|
|
|
|
XRE_InitParentProcess(0, nullptr, nullptr, nullptr);
|
2009-08-28 23:46:21 +04:00
|
|
|
XRE_RunAppShell();
|
2009-12-03 11:16:28 +03:00
|
|
|
XRE_ShutdownChildProcess();
|
2012-07-30 18:20:58 +04:00
|
|
|
XRE_SendTestShellCommand(nullptr, nullptr, nullptr);
|
2005-03-19 00:24:05 +03:00
|
|
|
}
|