зеркало из https://github.com/mozilla/pjs.git
add JSRuntime-access service
This commit is contained in:
Родитель
30e357b147
Коммит
5661180216
|
@ -31,6 +31,7 @@ XPIDLSRCS = \
|
|||
xpctest2.idl \
|
||||
xpcexception.idl \
|
||||
nsIJSContextStack.idl \
|
||||
nsIJSRuntimeService.idl \
|
||||
nsIXPCSecurityManager.idl \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ XPIDLSRCS = \
|
|||
.\xpctest2.idl \
|
||||
.\xpcexception.idl \
|
||||
.\nsIJSContextStack.idl \
|
||||
.\nsIJSRuntimeService.idl \
|
||||
.\nsIXPCSecurityManager.idl \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
* Version 1.1 (the "MPL"); you may not use this file except in
|
||||
* compliance with the MPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the MPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* MPL.
|
||||
*
|
||||
* The Initial Developer of this code under the MPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[ptr] native JSRuntime(JSRuntime);
|
||||
|
||||
[uuid(dcfbb49c-1dd1-11b2-9f39-935aef484817)]
|
||||
interface nsIJSRuntimeService : nsISupports
|
||||
{
|
||||
attribute JSRuntime runtime;
|
||||
};
|
Загрузка…
Ссылка в новой задаче