Back to index

lightning-sunbird  0.9+nobinonly
nsIProxyCreateInstance.h
Go to the documentation of this file.
00001 /*
00002  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIProxyCreateInstance.idl
00003  */
00004 
00005 #ifndef __gen_nsIProxyCreateInstance_h__
00006 #define __gen_nsIProxyCreateInstance_h__
00007 
00008 #include "nsISupports.h" /* interface nsISupports */
00009 #include "nsrootidl.h" /* interface nsrootidl */
00010 
00011 #ifdef XPIDL_JS_STUBS
00012 #include "jsapi.h"
00013 #endif
00014 
00015 /* starting interface:    nsIProxyCreateInstance */
00016 
00017 /* {948c2080-0398-11d3-915e-0000863011c4} */
00018 #define NS_IPROXYCREATEINSTANCE_IID_STR "948c2080-0398-11d3-915e-0000863011c4"
00019 #define NS_IPROXYCREATEINSTANCE_IID \
00020   {0x948c2080, 0x0398, 0x11d3, \
00021     { 0x91, 0x5e, 0x00, 0x00, 0x86, 0x30, 0x11, 0xc4 }}
00022 
00023 class nsIProxyCreateInstance : public nsISupports {
00024  public: 
00025   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPROXYCREATEINSTANCE_IID)
00026 
00027   /* void CreateInstanceByIID (in nsIIDRef cid, in nsISupports aOuter, in nsIIDRef iid, out voidStar result); */
00028   NS_IMETHOD CreateInstanceByIID(const nsIID & cid, nsISupports *aOuter, const nsIID & iid, void * *result) = 0;
00029 
00030   /* void CreateInstanceByContractID (in string aContractID, in nsISupports aOuter, in nsIIDRef iid, out voidStar result); */
00031   NS_IMETHOD CreateInstanceByContractID(const char *aContractID, nsISupports *aOuter, const nsIID & iid, void * *result) = 0;
00032 
00033 #ifdef XPIDL_JS_STUBS
00034   static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
00035   static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIProxyCreateInstance *priv);
00036 #endif
00037 };
00038 
00039 #endif /* __gen_nsIProxyCreateInstance_h__ */