<?xml version="1.0"?>
<GDOME_APIGEN>
  <SRCDIR>../../libgdome/events/</SRCDIR>
  <OUTFILE>gdome-events.c</OUTFILE>
  <APIPREFIX>gdome</APIPREFIX>
  <MODPREFIX>evt</MODPREFIX>
  <OUTFILEHEAD><![CDATA[/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
/* gdome-events.c
 *
 * DO NOT EDIT: this file has been generated automatically!
 *
 * Copyright (C) 1999 Raph Levien <raph@acm.org>
 * Copyright (C) 2000 Mathieu Lacage <mathieu@gnu.org>
 * CopyRight (C) 2001 Paolo Casarini <paolo@casarini.org>
 *
 * This file is generated automatically.  To make changes, edit
 * test/apigen/events.xml
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include "gdome-events.h"
#include "gdome-evt-eventl.h"
#include "gdome-evt-event.h"
#include "gdome-evt-mevent.h"

]]></OUTFILEHEAD>

  <INTERFACE NAME="EventListener" PREFIX="evntl" SRC="gdome-evt-eventl.c">
    <METHOD TYPE="GdomeEventListener *" NAME="aux_mkref" RAW="YES" STANDARD="NO">
      <PARAM TYPE="void (*) (GdomeEventListener *self, GdomeEvent *event, GdomeException *exc)" NAME="callback"/>
      <PARAM TYPE="gpointer" NAME="priv"/>
      <PARAM TYPE="void (*) (GdomeEventListener* self)" NAME="priv_callback"/>
    </METHOD>
     <METHOD TYPE="GdomeEventListener *" NAME="mkref" RAW="YES" STANDARD="NO">
      <PARAM TYPE="void (*) (GdomeEventListener *self, GdomeEvent *event, GdomeException *exc)" NAME="callback"/>
      <PARAM TYPE="gpointer" NAME="priv"/>
    </METHOD>
    <METHOD TYPE="void" NAME="ref">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>
    <METHOD TYPE="void" NAME="unref">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>
    <METHOD TYPE="gpointer" NAME="query_interface">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      <PARAM TYPE="const char *" NAME="interface"/>
    </METHOD>
    <METHOD TYPE="void" NAME="handleEvent">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      <PARAM TYPE="GdomeEvent *" NAME="evt"/>
    </METHOD>
    <METHOD TYPE="gpointer" NAME="get_priv" RAW="YES" STANDARD="NO">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      <PARAM TYPE="GdomeEventListener *" NAME="self"/>
    </METHOD>
  </INTERFACE>
  
  <INTERFACE NAME="Event" PREFIX="evnt" SRC="gdome-evt-event.c">
    <ATTR READONLY="YES" TYPE="GdomeBoolean" NAME="bubbles">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="GdomeBoolean" NAME="cancelable">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="GdomeEventTarget *" NAME="currentTarget">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="unsigned short" NAME="eventPhase">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="GdomeEventTarget *" NAME="target">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="GdomeDOMTimeStamp" NAME="timeStamp">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <ATTR READONLY="YES" TYPE="GdomeDOMString *" NAME="type">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </ATTR>
    <METHOD TYPE="GdomeEvent *" NAME="mkref" RAW="YES" STANDARD="NO">
      <PARAM TYPE="void" NAME=""/>
    </METHOD>
    <METHOD TYPE="void" NAME="ref">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>
    <METHOD TYPE="void" NAME="unref">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>
    <METHOD TYPE="gpointer" NAME="query_interface">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      <PARAM TYPE="const char *" NAME="interface"/>
    </METHOD>
    <METHOD TYPE="void" NAME="initEvent">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      <PARAM TYPE="GdomeDOMString *" NAME="eventTypeArg"/>
      <PARAM TYPE="GdomeBoolean" NAME="canBubbleArg"/>
      <PARAM TYPE="GdomeBoolean" NAME="cancelableArg"/>
    </METHOD>
    <METHOD TYPE="void" NAME="preventDefault">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>
    <METHOD TYPE="void" NAME="stopPropagation">
      <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
    </METHOD>

    <INTERFACE NAME="MutationEvent" PREFIX="mevnt" SRC="gdome-evt-mevent.c">
      <ATTR READONLY="YES" TYPE="gushort" NAME="attrChange">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      </ATTR>
      <ATTR READONLY="YES" TYPE="GdomeDOMString *" NAME="attrName">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      </ATTR>
      <ATTR READONLY="YES" TYPE="GdomeDOMString *" NAME="newValue">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      </ATTR>
      <ATTR READONLY="YES" TYPE="GdomeDOMString *" NAME="prevValue">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      </ATTR>
      <ATTR READONLY="YES" TYPE="GdomeNode *" NAME="relatedNode">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
      </ATTR>
      <METHOD TYPE="GdomeMutationEvent *" NAME="mkref" RAW="YES" STANDARD="NO">
        <PARAM TYPE="void" NAME=""/>
      </METHOD>
      <METHOD TYPE="void" NAME="initMutationEvent">
        <EXCEPTION TYPE="NULL_POINTER_ERR" ON="self == NULL"/>
        <PARAM TYPE="GdomeDOMString *" NAME="typeArg"/>
        <PARAM TYPE="GdomeBoolean" NAME="canBubbleArg"/>
        <PARAM TYPE="GdomeBoolean" NAME="cancelableArg"/>
        <PARAM TYPE="GdomeNode *" NAME="relatedNodeArg"/>
        <PARAM TYPE="GdomeDOMString *" NAME="prevValueArg"/>
        <PARAM TYPE="GdomeDOMString *" NAME="newValueArg"/>
        <PARAM TYPE="GdomeDOMString *" NAME="attrNameArg"/>
        <PARAM TYPE="gushort" NAME="attrChangeArg"/>
      </METHOD>
  </INTERFACE>

  </INTERFACE>

</GDOME_APIGEN>
