add JSRuntime-access service
git-svn-id: svn://10.0.0.236/trunk@46019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
27
mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl
Normal file
27
mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl
Normal file
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user