Mozilla/mozilla/xpcom/proxy/public/nsIProxyCreateInstance.idl
mccabe%netscape.com 1999447bdb Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.


git-svn-id: svn://10.0.0.236/trunk@42960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 12:18:01 +00:00

21 lines
686 B
Plaintext

#include "nsISupports.idl"
/* XXX should be built in */
native nsID(nsID *);
[scriptable, uuid(948c2080-0398-11d3-915e-0000863011c4)]
interface nsIProxyCreateInstance : nsISupports
{
[noscript] void CreateInstanceByIID(in nsIIDRef cid,
in nsISupports aOuter,
in nsIIDRef iid,
out voidStar result);
[noscript] void CreateInstanceByProgID(in string aProgID,
in nsISupports aOuter,
in nsIIDRef iid,
out voidStar result);
};