mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-24 11:13:35 +00:00
de2c3f4813
1998-11-07 Jay Cox <jaycox@earthlink.net> * libgimp/{gimp.h, gimpchannel.c, gimpdrawable.c, gimplayer.c}: export the tattoo functions to the plug-ins * libimp/gserialize.c, libimp/gserialize.h: new files for serializing structures * main.c: test the gserialize functions * gimpsignal.h: declare gimp_sigtype_* as extern
36 lines
933 B
C
36 lines
933 B
C
#ifndef __GIMPSIGNAL_H__
|
|
#define __GIMPSIGNAL_H__
|
|
|
|
#include <gtk/gtksignal.h>
|
|
|
|
/* This is the gtk "signal id" */
|
|
typedef guint GimpSignalID;
|
|
|
|
|
|
typedef const struct _GimpSignalType GimpSignalType;
|
|
/* The arguments are encoded in the names.. */
|
|
|
|
extern GimpSignalType* const gimp_sigtype_void;
|
|
typedef void (*GimpHandlerVoid)(GtkObject*, gpointer);
|
|
|
|
extern GimpSignalType* const gimp_sigtype_pointer;
|
|
typedef void (*GimpHandlerPointer)(GtkObject*, gpointer, gpointer);
|
|
|
|
extern GimpSignalType* const gimp_sigtype_int;
|
|
typedef void (*GimpHandlerInt)(GtkObject*, gint, gpointer);
|
|
|
|
extern GimpSignalType* const gimp_sigtype_int_int_int_int;
|
|
typedef void (*GimpHandlerIntIntIntInt) (GtkObject*, gint, gint, gint, gint,
|
|
gpointer);
|
|
|
|
GimpSignalID gimp_signal_new(const gchar* name,
|
|
GtkSignalRunType signal_flags,
|
|
GtkType object_type,
|
|
guint function_offset,
|
|
GimpSignalType* sig_type);
|
|
|
|
|
|
|
|
|
|
#endif
|