+/*
+ * AT-SPI - Assistive Technology Service Provider Interface
+ * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
+ *
+ * Copyright 2001 Sun Microsystems Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library 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.
+ */
+
#ifndef _ACCESSIBILITY_ACCESSIBLE_IDL
#define _ACCESSIBILITY_ACCESSIBLE_IDL
-
-#include <Bonobo.idl>
-
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-%{
-#pragma include_defs Accessible.h
-%}
-#pragma inhibit push
-#endif
+#include <Bonobo_Unknown.idl>
#include "Relation.idl"
#include "State.idl"
interface Accessible : Bonobo::Unknown {
/**
- * #attribute description: a (short) @string representing the object's name.
+ * #attribute name: a (short) @string representing the object's name.
**/
attribute string name;
readonly attribute long childCount;
/**
+ * isEqual:
+ * @object: an #Accessible object reference to compare to
+ * return values: a #boolean indicating whether the two object references
+ * point to the same object.
+ **/
+ boolean isEqual (in Accessible obj);
+
+ /**
* getChildAtIndex:
* @index: an in parameter indicating which child is requested (zero-indexed).
* return values: the 'nth' @Accessible child of this object.
};
};
-#if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
-#pragma inhibit pop
-#endif
-
#endif