Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac.
git-svn-id: svn://10.0.0.236/trunk@31427 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
12032a750d
commit
d53aa972d4
39
mozilla/xpcom/components/nsIFactory.h
Normal file
39
mozilla/xpcom/components/nsIFactory.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIFactory.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIFactory_h__
|
||||
#define __gen_nsIFactory_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsIFactory */
|
||||
|
||||
/* {00000001-0000-0000-c000-000000000046} */
|
||||
#define NS_IFACTORY_IID_STR "00000001-0000-0000-c000-000000000046"
|
||||
#define NS_IFACTORY_IID \
|
||||
{0x00000001, 0x0000, 0x0000, \
|
||||
{ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 }}
|
||||
|
||||
class nsIFactory : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IFACTORY_IID)
|
||||
|
||||
/* voidStar CreateInstance (in nsISupports aOuter, in nsIIDRef iid); */
|
||||
NS_IMETHOD CreateInstance(nsISupports *aOuter, const nsIID & iid, void * *_retval) = 0;
|
||||
|
||||
/* void LockFactory (in PRBool lock); */
|
||||
NS_IMETHOD LockFactory(PRBool lock) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIFactory *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* __gen_nsIFactory_h__ */
|
||||
55
mozilla/xpcom/ds/nsICollection.h
Normal file
55
mozilla/xpcom/ds/nsICollection.h
Normal file
@ -0,0 +1,55 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsICollection.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsICollection_h__
|
||||
#define __gen_nsICollection_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
#include "nsIEnumerator.h" /* interface nsIEnumerator */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsICollection */
|
||||
|
||||
/* {83b6019c-cbc4-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_ICOLLECTION_IID_STR "83b6019c-cbc4-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_ICOLLECTION_IID \
|
||||
{0x83b6019c, 0xcbc4, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsICollection : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICOLLECTION_IID)
|
||||
|
||||
/* unsigned long Count (); */
|
||||
NS_IMETHOD Count(PRUint32 *_retval) = 0;
|
||||
|
||||
/* nsISupports GetElementAt (in unsigned long index); */
|
||||
NS_IMETHOD GetElementAt(PRUint32 index, nsISupports **_retval) = 0;
|
||||
|
||||
/* void SetElementAt (in unsigned long index, in nsISupports item); */
|
||||
NS_IMETHOD SetElementAt(PRUint32 index, nsISupports *item) = 0;
|
||||
|
||||
/* void AppendElement (in nsISupports item); */
|
||||
NS_IMETHOD AppendElement(nsISupports *item) = 0;
|
||||
|
||||
/* void RemoveElement (in nsISupports item); */
|
||||
NS_IMETHOD RemoveElement(nsISupports *item) = 0;
|
||||
|
||||
/* nsIEnumerator Enumerate (); */
|
||||
NS_IMETHOD Enumerate(nsIEnumerator **_retval) = 0;
|
||||
|
||||
/* void Clear (); */
|
||||
NS_IMETHOD Clear() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsICollection *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* __gen_nsICollection_h__ */
|
||||
115
mozilla/xpcom/ds/nsIEnumerator.h
Normal file
115
mozilla/xpcom/ds/nsIEnumerator.h
Normal file
@ -0,0 +1,115 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIEnumerator.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIEnumerator_h__
|
||||
#define __gen_nsIEnumerator_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsISimpleEnumerator */
|
||||
|
||||
/* {D1899240-F9D2-11D2-BDD6-000064657374} */
|
||||
#define NS_ISIMPLEENUMERATOR_IID_STR "D1899240-F9D2-11D2-BDD6-000064657374"
|
||||
#define NS_ISIMPLEENUMERATOR_IID \
|
||||
{0xD1899240, 0xF9D2, 0x11D2, \
|
||||
{ 0xBD, 0xD6, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}
|
||||
|
||||
class nsISimpleEnumerator : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISIMPLEENUMERATOR_IID)
|
||||
|
||||
/* boolean HasMoreElements (); */
|
||||
NS_IMETHOD HasMoreElements(PRBool *_retval) = 0;
|
||||
|
||||
/* nsISupports GetNext (); */
|
||||
NS_IMETHOD GetNext(nsISupports **_retval) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsISimpleEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
/* starting interface: nsIEnumerator */
|
||||
|
||||
/* {ad385286-cbc4-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_IENUMERATOR_IID_STR "ad385286-cbc4-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_IENUMERATOR_IID \
|
||||
{0xad385286, 0xcbc4, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsIEnumerator : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IENUMERATOR_IID)
|
||||
|
||||
/* void First (); */
|
||||
NS_IMETHOD First() = 0;
|
||||
|
||||
/* void Next (); */
|
||||
NS_IMETHOD Next() = 0;
|
||||
|
||||
/* nsISupports CurrentItem (); */
|
||||
NS_IMETHOD CurrentItem(nsISupports **_retval) = 0;
|
||||
|
||||
/* void IsDone (); */
|
||||
NS_IMETHOD IsDone() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
/* starting interface: nsIBidirectionalEnumerator */
|
||||
|
||||
/* {75f158a0-cadd-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_IBIDIRECTIONALENUMERATOR_IID_STR "75f158a0-cadd-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_IBIDIRECTIONALENUMERATOR_IID \
|
||||
{0x75f158a0, 0xcadd, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsIBidirectionalEnumerator : public nsIEnumerator {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IBIDIRECTIONALENUMERATOR_IID)
|
||||
|
||||
/* void Last (); */
|
||||
NS_IMETHOD Last() = 0;
|
||||
|
||||
/* void Prev (); */
|
||||
NS_IMETHOD Prev() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIBidirectionalEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewEmptyEnumerator(nsISimpleEnumerator** aResult);
|
||||
// Construct and return an implementation of a "conjoining enumerator." This
|
||||
// enumerator lets you string together two other enumerators into one sequence.
|
||||
// The result is an nsIBidirectionalEnumerator, but if either input is not
|
||||
// also bidirectional, the Last and Prev operations will fail.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewConjoiningEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIBidirectionalEnumerator* *aInstancePtrResult);
|
||||
// Construct and return an implementation of a "union enumerator." This
|
||||
// enumerator will only return elements that are found in both constituent
|
||||
// enumerators.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewUnionEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIEnumerator* *aInstancePtrResult);
|
||||
// Construct and return an implementation of an "intersection enumerator." This
|
||||
// enumerator will return elements that are found in either constituent
|
||||
// enumerators, eliminating duplicates.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewIntersectionEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIEnumerator* *aInstancePtrResult);
|
||||
|
||||
|
||||
#endif /* __gen_nsIEnumerator_h__ */
|
||||
55
mozilla/xpcom/public/nsICollection.h
Normal file
55
mozilla/xpcom/public/nsICollection.h
Normal file
@ -0,0 +1,55 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsICollection.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsICollection_h__
|
||||
#define __gen_nsICollection_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
#include "nsIEnumerator.h" /* interface nsIEnumerator */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsICollection */
|
||||
|
||||
/* {83b6019c-cbc4-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_ICOLLECTION_IID_STR "83b6019c-cbc4-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_ICOLLECTION_IID \
|
||||
{0x83b6019c, 0xcbc4, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsICollection : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICOLLECTION_IID)
|
||||
|
||||
/* unsigned long Count (); */
|
||||
NS_IMETHOD Count(PRUint32 *_retval) = 0;
|
||||
|
||||
/* nsISupports GetElementAt (in unsigned long index); */
|
||||
NS_IMETHOD GetElementAt(PRUint32 index, nsISupports **_retval) = 0;
|
||||
|
||||
/* void SetElementAt (in unsigned long index, in nsISupports item); */
|
||||
NS_IMETHOD SetElementAt(PRUint32 index, nsISupports *item) = 0;
|
||||
|
||||
/* void AppendElement (in nsISupports item); */
|
||||
NS_IMETHOD AppendElement(nsISupports *item) = 0;
|
||||
|
||||
/* void RemoveElement (in nsISupports item); */
|
||||
NS_IMETHOD RemoveElement(nsISupports *item) = 0;
|
||||
|
||||
/* nsIEnumerator Enumerate (); */
|
||||
NS_IMETHOD Enumerate(nsIEnumerator **_retval) = 0;
|
||||
|
||||
/* void Clear (); */
|
||||
NS_IMETHOD Clear() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsICollection *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* __gen_nsICollection_h__ */
|
||||
115
mozilla/xpcom/public/nsIEnumerator.h
Normal file
115
mozilla/xpcom/public/nsIEnumerator.h
Normal file
@ -0,0 +1,115 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIEnumerator.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIEnumerator_h__
|
||||
#define __gen_nsIEnumerator_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsISimpleEnumerator */
|
||||
|
||||
/* {D1899240-F9D2-11D2-BDD6-000064657374} */
|
||||
#define NS_ISIMPLEENUMERATOR_IID_STR "D1899240-F9D2-11D2-BDD6-000064657374"
|
||||
#define NS_ISIMPLEENUMERATOR_IID \
|
||||
{0xD1899240, 0xF9D2, 0x11D2, \
|
||||
{ 0xBD, 0xD6, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}
|
||||
|
||||
class nsISimpleEnumerator : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISIMPLEENUMERATOR_IID)
|
||||
|
||||
/* boolean HasMoreElements (); */
|
||||
NS_IMETHOD HasMoreElements(PRBool *_retval) = 0;
|
||||
|
||||
/* nsISupports GetNext (); */
|
||||
NS_IMETHOD GetNext(nsISupports **_retval) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsISimpleEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
/* starting interface: nsIEnumerator */
|
||||
|
||||
/* {ad385286-cbc4-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_IENUMERATOR_IID_STR "ad385286-cbc4-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_IENUMERATOR_IID \
|
||||
{0xad385286, 0xcbc4, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsIEnumerator : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IENUMERATOR_IID)
|
||||
|
||||
/* void First (); */
|
||||
NS_IMETHOD First() = 0;
|
||||
|
||||
/* void Next (); */
|
||||
NS_IMETHOD Next() = 0;
|
||||
|
||||
/* nsISupports CurrentItem (); */
|
||||
NS_IMETHOD CurrentItem(nsISupports **_retval) = 0;
|
||||
|
||||
/* void IsDone (); */
|
||||
NS_IMETHOD IsDone() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
/* starting interface: nsIBidirectionalEnumerator */
|
||||
|
||||
/* {75f158a0-cadd-11d2-8cca-0060b0fc14a3} */
|
||||
#define NS_IBIDIRECTIONALENUMERATOR_IID_STR "75f158a0-cadd-11d2-8cca-0060b0fc14a3"
|
||||
#define NS_IBIDIRECTIONALENUMERATOR_IID \
|
||||
{0x75f158a0, 0xcadd, 0x11d2, \
|
||||
{ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}
|
||||
|
||||
class nsIBidirectionalEnumerator : public nsIEnumerator {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IBIDIRECTIONALENUMERATOR_IID)
|
||||
|
||||
/* void Last (); */
|
||||
NS_IMETHOD Last() = 0;
|
||||
|
||||
/* void Prev (); */
|
||||
NS_IMETHOD Prev() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIBidirectionalEnumerator *priv);
|
||||
#endif
|
||||
};
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewEmptyEnumerator(nsISimpleEnumerator** aResult);
|
||||
// Construct and return an implementation of a "conjoining enumerator." This
|
||||
// enumerator lets you string together two other enumerators into one sequence.
|
||||
// The result is an nsIBidirectionalEnumerator, but if either input is not
|
||||
// also bidirectional, the Last and Prev operations will fail.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewConjoiningEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIBidirectionalEnumerator* *aInstancePtrResult);
|
||||
// Construct and return an implementation of a "union enumerator." This
|
||||
// enumerator will only return elements that are found in both constituent
|
||||
// enumerators.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewUnionEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIEnumerator* *aInstancePtrResult);
|
||||
// Construct and return an implementation of an "intersection enumerator." This
|
||||
// enumerator will return elements that are found in either constituent
|
||||
// enumerators, eliminating duplicates.
|
||||
extern "C" NS_COM nsresult
|
||||
NS_NewIntersectionEnumerator(nsIEnumerator* first, nsIEnumerator* second,
|
||||
nsIEnumerator* *aInstancePtrResult);
|
||||
|
||||
|
||||
#endif /* __gen_nsIEnumerator_h__ */
|
||||
39
mozilla/xpcom/public/nsIFactory.h
Normal file
39
mozilla/xpcom/public/nsIFactory.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIFactory.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIFactory_h__
|
||||
#define __gen_nsIFactory_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
|
||||
/* starting interface: nsIFactory */
|
||||
|
||||
/* {00000001-0000-0000-c000-000000000046} */
|
||||
#define NS_IFACTORY_IID_STR "00000001-0000-0000-c000-000000000046"
|
||||
#define NS_IFACTORY_IID \
|
||||
{0x00000001, 0x0000, 0x0000, \
|
||||
{ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 }}
|
||||
|
||||
class nsIFactory : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IFACTORY_IID)
|
||||
|
||||
/* voidStar CreateInstance (in nsISupports aOuter, in nsIIDRef iid); */
|
||||
NS_IMETHOD CreateInstance(nsISupports *aOuter, const nsIID & iid, void * *_retval) = 0;
|
||||
|
||||
/* void LockFactory (in PRBool lock); */
|
||||
NS_IMETHOD LockFactory(PRBool lock) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIFactory *priv);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* __gen_nsIFactory_h__ */
|
||||
53
mozilla/xpcom/public/nsISupports.h
Normal file
53
mozilla/xpcom/public/nsISupports.h
Normal file
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsISupports.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsISupports_h__
|
||||
#define __gen_nsISupports_h__
|
||||
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
/*
|
||||
* Start commenting out the C++ versions of the below in the output header
|
||||
*/
|
||||
#if 0
|
||||
|
||||
|
||||
/* starting interface: nsISupports */
|
||||
|
||||
/* {00000000-0000-0000-c000-000000000046} */
|
||||
#define NS_ISUPPORTS_IID_STR "00000000-0000-0000-c000-000000000046"
|
||||
#define NS_ISUPPORTS_IID \
|
||||
{0x00000000, 0x0000, 0x0000, \
|
||||
{ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 }}
|
||||
|
||||
class nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISUPPORTS_IID)
|
||||
|
||||
/* void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result); */
|
||||
NS_IMETHOD QueryInterface(const nsIID & uuid, void * *result) = 0;
|
||||
|
||||
/* [noscript, notxpcom] nsrefcnt AddRef (); */
|
||||
NS_IMETHOD_(nsrefcnt) AddRef() = 0;
|
||||
|
||||
/* [noscript, notxpcom] nsrefcnt Release (); */
|
||||
NS_IMETHOD_(nsrefcnt) Release() = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsISupports *priv);
|
||||
#endif
|
||||
};
|
||||
/*
|
||||
* End commenting out the C++ versions of the above in the output header
|
||||
*/
|
||||
#endif
|
||||
|
||||
#include "nsISupportsUtils.h"
|
||||
|
||||
|
||||
#endif /* __gen_nsISupports_h__ */
|
||||
32
mozilla/xpcom/public/nsrootidl.h
Normal file
32
mozilla/xpcom/public/nsrootidl.h
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsrootidl.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsrootidl_h__
|
||||
#define __gen_nsrootidl_h__
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
/*
|
||||
* Start commenting out the C++ versions of the below in the output header
|
||||
*/
|
||||
#if 0
|
||||
|
||||
typedef PRBool PRBool;
|
||||
typedef PRUint8 PRUint8;
|
||||
typedef PRUint16 PRUint16;
|
||||
typedef PRUint32 PRUint32;
|
||||
typedef PRUint64 PRUint64;
|
||||
typedef PRInt16 PRInt16;
|
||||
typedef PRInt32 PRInt32;
|
||||
typedef PRInt64 PRInt64;
|
||||
typedef PRUint32 nsrefcnt;
|
||||
typedef PRUint32 nsresult;
|
||||
/*
|
||||
* End commenting out the C++ versions of the above in the output header
|
||||
*/
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __gen_nsrootidl_h__ */
|
||||
Loading…
x
Reference in New Issue
Block a user