1998-06-28 18:39:58 +08:00
|
|
|
#ifndef __GIMP_OBJECT_H__
|
|
|
|
#define __GIMP_OBJECT_H__
|
|
|
|
|
1998-06-29 08:24:44 +08:00
|
|
|
#include <gtk/gtktypeutils.h>
|
1998-06-28 18:39:58 +08:00
|
|
|
#include "gimpobjectF.h"
|
|
|
|
|
1998-06-30 09:14:36 +08:00
|
|
|
#define GIMP_TYPE_OBJECT gimp_object_get_type()
|
|
|
|
|
|
|
|
#define GIMP_OBJECT(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_OBJECT, GimpObject)
|
|
|
|
|
|
|
|
#define GIMP_IS_OBJECT(obj) GTK_CHECK_TYPE (obj, GIMP_TYPE_OBJECT)
|
|
|
|
|
1998-06-28 18:39:58 +08:00
|
|
|
|
|
|
|
guint gimp_object_get_type(void);
|
|
|
|
|
1998-07-09 13:31:06 +08:00
|
|
|
/* hacks to fake a gimp object lib */
|
|
|
|
#define GIMP_CHECK_CAST GTK_CHECK_CAST
|
|
|
|
#define GIMP_CHECK_TYPE GTK_CHECK_TYPE
|
|
|
|
#define gimp_type_new gtk_type_new
|
|
|
|
#define gimp_object_destroy(obj) gtk_object_destroy(GTK_OBJECT(obj))
|
|
|
|
#define gimp_object_ref(obj) gtk_object_ref(GTK_OBJECT(obj))
|
|
|
|
#define gimp_object_unref(obj) gtk_object_unref(GTK_OBJECT(obj))
|
|
|
|
|
1998-06-28 18:39:58 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|