WebCore/bindings/gobject/WebKitDOMObject.h
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     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 
       
    24 
       
    25 #ifndef WebKitDOMObject_h
       
    26 #define WebKitDOMObject_h
       
    27 
       
    28 #include "glib-object.h"
       
    29 #include "webkit/webkitdomdefines.h"
       
    30 #include <webkit/webkitdefines.h>
       
    31 
       
    32 G_BEGIN_DECLS
       
    33 
       
    34 #define WEBKIT_TYPE_DOM_OBJECT            (webkit_dom_object_get_type())
       
    35 #define WEBKIT_DOM_OBJECT(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObject))
       
    36 #define WEBKIT_DOM_OBJECT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObjectClass))
       
    37 #define WEBKIT_IS_DOM_OBJECT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_OBJECT))
       
    38 #define WEBKIT_IS_DOM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_TYPE_DOM_OBJECT))
       
    39 #define WEBKIT_DOM_OBJECT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_TYPE_DOM_OBJECT, WebKitDOMObjectClass))
       
    40 
       
    41 typedef struct _WebKitDOMObjectPrivate WebKitDOMObjectPrivate;
       
    42 
       
    43 struct _WebKitDOMObject {
       
    44     GObject parentInstance;
       
    45 
       
    46     gpointer coreObject;
       
    47 };
       
    48 
       
    49 struct _WebKitDOMObjectClass {
       
    50     GObjectClass parentClass;
       
    51 };
       
    52 
       
    53 WEBKIT_API GType
       
    54 webkit_dom_object_get_type(void);
       
    55 
       
    56 G_END_DECLS
       
    57 
       
    58 #endif /* WebKitDOMObject_h */