/* THIS FILE IS AUTOGENERATED - DO NOT EDIT */

#ifndef __gen_dombindings_gen_h__
#define __gen_dombindings_gen_h__

namespace mozilla {
class DOMSVGLengthList;
class DOMSVGNumberList;
class DOMSVGPathSegList;
class DOMSVGPointList;
class DOMSVGTransformList;
}
class nsClientRectList;
class nsDOMFileList;
class nsDOMSettableTokenList;
class nsDOMTokenList;
class nsDOMTouchList;
class nsHTMLOptionCollection;
class nsIHTMLCollection;
class nsINodeList;
class nsPaintRequestList;

namespace mozilla {
namespace dom {
namespace binding {

bool
DefinePropertyStaticJSVals(JSContext *cx);

class ClientRectList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsClientRectList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsClientRectList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class DOMTokenList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsDOMTokenList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMTokenList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class NodeList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsINodeList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsINodeList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class HTMLCollection {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsIHTMLCollection *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsIHTMLCollection *list, nsWrapperCache *cache, bool *triedToWrap);
};

class SVGPathSegList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static mozilla::DOMSVGPathSegList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGPathSegList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class PaintRequestList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsPaintRequestList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsPaintRequestList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class TouchList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsDOMTouchList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMTouchList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class FileList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsDOMFileList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMFileList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class SVGLengthList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static mozilla::DOMSVGLengthList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGLengthList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class SVGTransformList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static mozilla::DOMSVGTransformList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGTransformList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class DOMSettableTokenList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsDOMSettableTokenList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsDOMSettableTokenList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class SVGPointList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static mozilla::DOMSVGPointList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGPointList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class SVGNumberList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static mozilla::DOMSVGNumberList *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, mozilla::DOMSVGNumberList *list, nsWrapperCache *cache, bool *triedToWrap);
};

class HTMLOptionsCollection {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, I *list, bool *triedToWrap)
    {
        return create(cx, scope, list, GetWrapperCache(list), triedToWrap);
    }

    static bool objIsWrapper(JSObject *obj);
    static nsHTMLOptionCollection *getNative(JSObject *obj);

private:
    static JSObject *create(JSContext *cx, XPCWrappedNativeScope *scope, nsHTMLOptionCollection *list, nsWrapperCache *cache, bool *triedToWrap);
};


}
}
}

#endif
