/src/3rdparty/webkit/Source/WebCore/bindings/gobject/WebKitDOMObject.h

https://bitbucket.org/ultra_iter/qt-vtl · C Header · 58 lines · 24 code · 12 blank · 22 comment · 0 complexity · 4fe6f0fc74ffafec9f93a476bf81a0c6 MD5 · raw file

  1. /*
  2. * Copyright (C) 2008 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
  3. * Copyright (C) 2008 Martin Soto <soto@freedesktop.org>
  4. * Copyright (C) 2008 Alp Toker <alp@atoker.com>
  5. * Copyright (C) 2008 Apple Inc.
  6. * Copyright (C) 2009 Igalia S.L.
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Library General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2 of the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Library General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Library General Public License
  19. * along with this library; see the file COPYING.LIB. If not, write to
  20. * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  21. * Boston, MA 02110-1301, USA.
  22. */
  23. #ifndef WebKitDOMObject_h
  24. #define WebKitDOMObject_h
  25. #include "glib-object.h"
  26. #include "webkit/webkitdomdefines.h"
  27. #include <webkit/webkitdefines.h>
  28. G_BEGIN_DECLS
  29. #define WEBKIT_TYPE_DOM_OBJECT (webkit_dom_object_get_type())
  30. #define WEBKIT_DOM_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObject))
  31. #define WEBKIT_DOM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObjectClass))
  32. #define WEBKIT_IS_DOM_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_OBJECT))
  33. #define WEBKIT_IS_DOM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_TYPE_DOM_OBJECT))
  34. #define WEBKIT_DOM_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObjectClass))
  35. typedef struct _WebKitDOMObjectPrivate WebKitDOMObjectPrivate;
  36. struct _WebKitDOMObject {
  37. GObject parentInstance;
  38. gpointer coreObject;
  39. };
  40. struct _WebKitDOMObjectClass {
  41. GObjectClass parentClass;
  42. };
  43. WEBKIT_API GType
  44. webkit_dom_object_get_type(void);
  45. G_END_DECLS
  46. #endif /* WebKitDOMObject_h */