/* 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;
namespace dom {
class HTMLPropertiesCollection;
class PropertyNodeList;
}
}
class nsClientRectList;
class nsDOMFileList;
class nsDOMSettableTokenList;
class nsDOMTokenList;
class nsHTMLOptionCollection;
class nsIHTMLCollection;
class nsINodeList;
class nsPaintRequestList;

namespace mozilla {
namespace dom {
namespace oldproxybindings {

bool
DefinePropertyStaticJSVals(JSContext *cx);

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

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

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

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

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

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

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

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

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

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

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

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

class HTMLPropertiesCollection {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, JSObject *scope, I *list)
    {
        return create(cx, scope, list, list);
    }

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

private:
    static JSObject *create(JSContext *cx, JSObject *scope, mozilla::dom::HTMLPropertiesCollection *list, nsWrapperCache *cache);
};

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

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

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

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

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

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

class PropertyNodeList {
public:
    template<typename I>
    static JSObject *create(JSContext *cx, JSObject *scope, I *list)
    {
        return create(cx, scope, list, list);
    }

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

private:
    static JSObject *create(JSContext *cx, JSObject *scope, mozilla::dom::PropertyNodeList *list, nsWrapperCache *cache);
};

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}
}
}

#endif
