/src/3rdparty/webkit/Source/WebCore/generated/JSSVGSetElement.h

https://bitbucket.org/ultra_iter/qt-vtl · C Header · 76 lines · 41 code · 15 blank · 20 comment · 0 complexity · 78b9a77418beea32d5bc7cc08578d18f MD5 · raw file

  1. /*
  2. This file is part of the WebKit open source project.
  3. This file has been generated by generate-bindings.pl. DO NOT MODIFY!
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Library General Public License for more details.
  12. You should have received a copy of the GNU Library General Public License
  13. along with this library; see the file COPYING.LIB. If not, write to
  14. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  15. Boston, MA 02110-1301, USA.
  16. */
  17. #ifndef JSSVGSetElement_h
  18. #define JSSVGSetElement_h
  19. #if ENABLE(SVG_ANIMATION)
  20. #include "JSSVGAnimationElement.h"
  21. #include "SVGElement.h"
  22. #include <runtime/JSObjectWithGlobalObject.h>
  23. namespace WebCore {
  24. class SVGSetElement;
  25. class JSSVGSetElement : public JSSVGAnimationElement {
  26. typedef JSSVGAnimationElement Base;
  27. public:
  28. JSSVGSetElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGSetElement>);
  29. static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
  30. virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
  31. virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
  32. static const JSC::ClassInfo s_info;
  33. static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
  34. {
  35. return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
  36. }
  37. static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
  38. protected:
  39. static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
  40. };
  41. class JSSVGSetElementPrototype : public JSC::JSObjectWithGlobalObject {
  42. typedef JSC::JSObjectWithGlobalObject Base;
  43. public:
  44. static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
  45. static const JSC::ClassInfo s_info;
  46. static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype)
  47. {
  48. return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
  49. }
  50. JSSVGSetElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure) : JSC::JSObjectWithGlobalObject(globalData, globalObject, structure) { }
  51. protected:
  52. static const unsigned StructureFlags = Base::StructureFlags;
  53. };
  54. // Attributes
  55. JSC::JSValue jsSVGSetElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  56. } // namespace WebCore
  57. #endif // ENABLE(SVG_ANIMATION)
  58. #endif