mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0fd9123eac
This patch was generated by a script. Here's the source of the script for future reference: function convert() { echo "Converting $1 to $2..." find . ! -wholename "*nsprpub*" \ ! -wholename "*security/nss*" \ ! -wholename "*/.hg*" \ ! -wholename "obj-ff-dbg*" \ ! -name nsXPCOMCID.h \ ! -name prtypes.h \ -type f \ \( -iname "*.cpp" \ -o -iname "*.h" \ -o -iname "*.c" \ -o -iname "*.cc" \ -o -iname "*.idl" \ -o -iname "*.ipdl" \ -o -iname "*.ipdlh" \ -o -iname "*.mm" \) | \ xargs -n 1 sed -i -e "s/\b$1\b/$2/g" } convert PRInt8 int8_t convert PRUint8 uint8_t convert PRInt16 int16_t convert PRUint16 uint16_t convert PRInt32 int32_t convert PRUint32 uint32_t convert PRInt64 int64_t convert PRUint64 uint64_t convert PRIntn int convert PRUintn unsigned convert PRSize size_t convert PROffset32 int32_t convert PROffset64 int64_t convert PRPtrdiff ptrdiff_t convert PRFloat64 double
99 lines
3.2 KiB
Plaintext
99 lines
3.2 KiB
Plaintext
/* 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/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
/**
|
|
* Provides information about the XUL runtime.
|
|
* @status UNSTABLE - This interface is not frozen and will probably change in
|
|
* future releases. If you need this functionality to be
|
|
* stable/frozen, please contact Benjamin Smedberg.
|
|
*/
|
|
|
|
[scriptable, uuid(cb0b8eda-4c83-4d0e-a63c-d3b65714bc85)]
|
|
interface nsIXULRuntime : nsISupports
|
|
{
|
|
/**
|
|
* Whether the application was launched in safe mode.
|
|
*/
|
|
readonly attribute boolean inSafeMode;
|
|
|
|
/**
|
|
* Whether to write console errors to a log file. If a component
|
|
* encounters startup errors that might prevent the app from showing
|
|
* proper UI, it should set this flag to "true".
|
|
*/
|
|
attribute boolean logConsoleErrors;
|
|
|
|
/**
|
|
* A string tag identifying the current operating system. This is taken
|
|
* from the OS_TARGET configure variable. It will always be available.
|
|
*/
|
|
readonly attribute AUTF8String OS;
|
|
|
|
/**
|
|
* A string tag identifying the binary ABI of the current processor and
|
|
* compiler vtable. This is taken from the TARGET_XPCOM_ABI configure
|
|
* variable. It may not be available on all platforms, especially
|
|
* unusual processor or compiler combinations.
|
|
*
|
|
* The result takes the form <processor>-<compilerABI>, for example:
|
|
* x86-msvc
|
|
* ppc-gcc3
|
|
*
|
|
* This value should almost always be used in combination with "OS".
|
|
*
|
|
* @throw NS_ERROR_NOT_AVAILABLE if not available.
|
|
*/
|
|
readonly attribute AUTF8String XPCOMABI;
|
|
|
|
/**
|
|
* A string tag identifying the target widget toolkit in use.
|
|
* This is taken from the MOZ_WIDGET_TOOLKIT configure variable.
|
|
*/
|
|
readonly attribute AUTF8String widgetToolkit;
|
|
|
|
/**
|
|
* The legal values of processType.
|
|
*/
|
|
const unsigned long PROCESS_TYPE_DEFAULT = 0;
|
|
const unsigned long PROCESS_TYPE_PLUGIN = 1;
|
|
const unsigned long PROCESS_TYPE_CONTENT = 2;
|
|
const unsigned long PROCESS_TYPE_IPDLUNITTEST = 3;
|
|
|
|
/**
|
|
* The type of the caller's process. Returns one of the values above.
|
|
*/
|
|
readonly attribute unsigned long processType;
|
|
|
|
/**
|
|
* Signal the apprunner to invalidate caches on the next restart.
|
|
* This will cause components to be autoregistered and all
|
|
* fastload data to be re-created.
|
|
*/
|
|
void invalidateCachesOnRestart();
|
|
|
|
/**
|
|
* Starts a child process. This method is intented to pre-start a
|
|
* content child process so that when it is actually needed, it is
|
|
* ready to go.
|
|
*
|
|
* @throw NS_ERROR_NOT_AVAILABLE if not available.
|
|
*/
|
|
void ensureContentProcess();
|
|
|
|
/**
|
|
* Modification time of the profile lock before the profile was locked on
|
|
* this startup. Used to know the last time the profile was used and not
|
|
* closed cleanly. This is set to 0 if there was no existing profile lock.
|
|
*/
|
|
readonly attribute int64_t replacedLockTime;
|
|
|
|
/**
|
|
* Local ID of the minidump generated when the process crashed
|
|
* on the previous run. Can be passed directly to CrashSubmit.submit.
|
|
*/
|
|
readonly attribute DOMString lastRunCrashID;
|
|
};
|