123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- #ifndef __gen_nsIDOMCSSValueList_h__
- #define __gen_nsIDOMCSSValueList_h__
- #ifndef __gen_nsIDOMCSSValue_h__
- #include "nsIDOMCSSValue.h"
- #endif
- #ifndef NS_NO_VTABLE
- #define NS_NO_VTABLE
- #endif
- #define NS_IDOMCSSVALUELIST_IID_STR "8f09fa84-39b9-4dca-9b2f-db0eeb186286"
- #define NS_IDOMCSSVALUELIST_IID \
- {0x8f09fa84, 0x39b9, 0x4dca, \
- { 0x9b, 0x2f, 0xdb, 0x0e, 0xeb, 0x18, 0x62, 0x86 }}
- class NS_NO_VTABLE nsIDOMCSSValueList : public nsIDOMCSSValue {
- public:
- NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCSSVALUELIST_IID)
-
-
- NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
-
- NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) = 0;
- };
- #define NS_DECL_NSIDOMCSSVALUELIST \
- NS_IMETHOD GetLength(PRUint32 *aLength); \
- NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval);
- #define NS_FORWARD_NSIDOMCSSVALUELIST(_to) \
- NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
- NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) { return _to Item(index, _retval); }
- #define NS_FORWARD_SAFE_NSIDOMCSSVALUELIST(_to) \
- NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
- NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); }
- #if 0
- class nsDOMCSSValueList : public nsIDOMCSSValueList
- {
- public:
- NS_DECL_ISUPPORTS
- NS_DECL_NSIDOMCSSVALUELIST
- nsDOMCSSValueList();
- private:
- ~nsDOMCSSValueList();
- protected:
-
- };
- NS_IMPL_ISUPPORTS1(nsDOMCSSValueList, nsIDOMCSSValueList)
- nsDOMCSSValueList::nsDOMCSSValueList()
- {
-
- }
- nsDOMCSSValueList::~nsDOMCSSValueList()
- {
-
- }
- NS_IMETHODIMP nsDOMCSSValueList::GetLength(PRUint32 *aLength)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMCSSValueList::Item(PRUint32 index, nsIDOMCSSValue **_retval)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- #endif
- #endif
|