add JSRuntime-access service

git-svn-id: svn://10.0.0.236/trunk@46019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%netscape.com
1999-09-04 19:25:15 +00:00
parent 7e6874745e
commit 6018da0708
3 changed files with 29 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ XPIDLSRCS = \
xpctest2.idl \
xpcexception.idl \
nsIJSContextStack.idl \
nsIJSRuntimeService.idl \
nsIXPCSecurityManager.idl \
$(NULL)

View File

@@ -26,6 +26,7 @@ XPIDLSRCS = \
.\xpctest2.idl \
.\xpcexception.idl \
.\nsIJSContextStack.idl \
.\nsIJSRuntimeService.idl \
.\nsIXPCSecurityManager.idl \
$(NULL)

View 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;
};